<xml xmlns="https://developers.google.com/blockly/xml">
<variables>
<variable type="timeout" id="Licht Aus">Licht Aus</variable>
</variables>
<block type="on" id="wo@m|fL`n/t$,A7/nt.P" x="-513" y="12">
<field name="OID">deconz.0.Sensors.5.presence</field>
<field name="CONDITION">ne</field>
<field name="ACK_CONDITION"></field>
<statement name="STATEMENT">
<block type="controls_if" id="wiw9bz9,Tc=mN;Hh~Zsg">
<mutation else="1"></mutation>
<value name="IF0">
<block type="logic_operation" id="$L;,1DYt8CTzld(m{(-Y" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="on_source" id="+w*vr=U[y|auOl0#A:M8">
<field name="ATTR">state.val</field>
</block>
</value>
<value name="B">
<block type="time_compare_ex" id="sW;_j_:T[kZ7lDf^wj{2" inline="false">
<mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true" actual_time="true"></mutation>
<field name="USE_ACTUAL_TIME">TRUE</field>
<field name="OPTION">not between</field>
<value name="START_TIME">
<shadow type="text" id="=2`X.nPio`mB~A#7b:r-">
<field name="TEXT">12:00</field>
</shadow>
<block type="time_astro" id=".p+|qw^_u8TAX6G[N:%x">
<field name="TYPE">sunrise</field>
<field name="OFFSET">120</field>
</block>
</value>
<value name="END_TIME">
<shadow type="text" id="P{mUw,A5P2t#8:NOlL,w">
<field name="TEXT">18:00</field>
</shadow>
<block type="time_astro" id="z6,@Nq/izTw#B5A?1J-^">
<field name="TYPE">sunrise</field>
<field name="OFFSET">-120</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="Q9gK`s6q}ZOjhs9.r3MH">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">shelly.1.shellyplus1#a8032abdb6c0#1.Relay0.Switch</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="TcZ6mK9]DRil!huMM)q7">
<field name="BOOL">TRUE</field>
</block>
</value>
<next>
<block type="timeouts_cleartimeout" id="oYzzAHTksc:W(Y#d:Cyb">
<field name="NAME">Licht Aus</field>
</block>
</next>
</block>
</statement>
<statement name="ELSE">
<block type="timeouts_settimeout" id="2n:4.indg0]^|P9yq,`j">
<field name="NAME">Licht Aus</field>
<field name="DELAY">45</field>
<field name="UNIT">sec</field>
<statement name="STATEMENT">
<block type="control" id="}/HAt|cjcWM%7PJ}-;57">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">shelly.1.shellyplus1#a8032abdb6c0#1.Relay0.Switch</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="L2Ow#|XO4k|-1t9Aex6E">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</statement>
</block>
</statement>
</block>
</statement>
</block>
</xml>