code_text
<block xmlns="https://developers.google.com/blockly/xml" type="on_ext" id="eEyVHWnQ}Z}cpRx-0.Y^" x="138" y="-288">
<mutation xmlns="http://www.w3.org/1999/xhtml" items="4"></mutation>
<field name="CONDITION">ne</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id=",Y,{Q|B}e?PxnX?ecNqI">
<field name="oid">hm-rpc.0.IEQ0090247.1.STATE</field>
</shadow>
</value>
<value name="OID1">
<shadow type="field_oid" id="9zybvEs@h6CKG6|8yg3d">
<field name="oid">hm-rpc.0.IEQ0523289.1.STATE</field>
</shadow>
</value>
<value name="OID2">
<shadow type="field_oid" id="~_,CkTU6ia5aB}bYI4co">
<field name="oid">hm-rpc.0.IEQ0523298.1.STATE</field>
</shadow>
</value>
<value name="OID3">
<shadow type="field_oid" id="Wc;!`]SW2ejzJ|Z+Dpc@">
<field name="oid">hm-rpc.0.IEQ0523303.1.STATE</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="controls_if" id="yZos~Z3L=*$dz0t.rZHo">
<mutation else="1"></mutation>
<value name="IF0">
<block type="logic_operation" id="w-whnICxoOKR2%vrKoB~" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_operation" id="[0:ogLWg/pN!d9A`zq~{" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_operation" id="[}WJD[__J+^].|ElF(r5" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="get_value" id="M%`SQIZzKZIn{!Yqc.Sm">
<field name="ATTR">val</field>
<field name="OID">hm-rpc.0.IEQ0090247.1.STATE</field>
</block>
</value>
<value name="B">
<block type="get_value" id="pRY*In!5D^gsg!jl{6k7">
<field name="ATTR">val</field>
<field name="OID">hm-rpc.0.IEQ0523289.1.STATE</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_operation" id="7ImAaTbV=MjXrSvPbpXH" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="get_value" id="(N%F^c#QO5Au6i[c1NzV">
<field name="ATTR">val</field>
<field name="OID">hm-rpc.0.IEQ0523298.1.STATE</field>
</block>
</value>
<value name="B">
<block type="get_value" id="XwbC`]DB*T0G#[-ln+7H">
<field name="ATTR">val</field>
<field name="OID">hm-rpc.0.IEQ0523303.1.STATE</field>
</block>
</value>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_negate" id="9R$ITMunsx8R;2~*c~zw">
<value name="BOOL">
<block type="variables_get" id="Fz`cMWR,JmYeVI%G@SsA">
<field name="VAR" id="Zw%u#sW?jv8%CiGB~ej3">Aktiviert</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="timeouts_settimeout" id="~oqtL(;ne1#.6yP1wjWA">
<field name="NAME">timeout</field>
<field name="DELAY">10</field>
<field name="UNIT">min</field>
<statement name="STATEMENT">
<block type="control" id="]MkGYm#]Q5%HhTp04d?4">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">sonoff.0.Steckdose3.POWER</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="YSHyA:rGWzEz=0?1~w0+">
<field name="BOOL">TRUE</field>
</block>
</value>
<next>
<block type="variables_set" id="|9G;KFzvZ[cW,jKx1wQJ">
<field name="VAR" id="Zw%u#sW?jv8%CiGB~ej3">Aktiviert</field>
<value name="VALUE">
<block type="logic_boolean" id="^?k43,OFse)2m:Au(B(^">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</next>
</block>
</statement>
</block>
</statement>
<statement name="ELSE">
<block type="debug" id="Fiy:h@f,%|)40xF.C[Fg">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text" id="zNi4cgKQmW78fqmg?0J#">
<field name="TEXT">test1</field>
</shadow>
</value>
<next>
<block type="timeouts_cleartimeout" id="Y%WMPojL:5W%)Tyv(mp:">
<field name="NAME">timeout</field>
</block>
</next>
</block>
</statement>
</block>
</statement>
</block>