<xml xmlns="https://developers.google.com/blockly/xml">
<variables>
<variable id="W[~p(rzjRofohEAF2v7o">position</variable>
<variable id="pv(p0MFmpT1lVnbLheY6">status</variable>
</variables>
<block type="variables_set" id="}2xgQK3cl~Y#SxT4Tyj" x="38" y="187">
<field name="VAR" id="W[~p(rzjRofohEAF2v7o">position</field>
<value name="VALUE">
<block type="get_value" id="trm_e8Lu{pYoAO~/wV?">
<field name="ATTR">val</field>
<field name="OID">shelly.0.SHSW-25#483FDA827F5E#1.Shutter.Position</field>
</block>
</value>
<next>
<block type="variables_set" id="l=r?sZRqG-jyYCmiLq4">
<field name="VAR" id="pv(p0MFmpT1lVnbLheY6">status</field>
<value name="VALUE">
<block type="get_value" id="|]5IOX5Y7,X9XsQP-cP">
<field name="ATTR">val</field>
<field name="OID">0_userdata.0.Fenster.Kuche_Tur</field>
</block>
</value>
<next>
<block type="schedule" id="a,a}fcfqe`*vEvi_qJ61">
<field name="SCHEDULE">0 21 * * *</field>
<statement name="STATEMENT">
<block type="controls_if" id="7vnu[;m^AdaTag:CpwUa">
<value name="IF0">
<block type="logic_operation" id="?evm+)t@K#JO8z_WmUfm" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="vVWJC)%xr!ZZzJUs.6_Q">
<field name="OP">NEQ</field>
<value name="A">
<block type="variables_get" id="b;c4Q;F#6w3G35p5Tp%C">
<field name="VAR" id="W[~p(rzjRofohEAF2v7o">position</field>
</block>
</value>
<value name="B">
<block type="math_number" id="7TeaJv1[Ecnh]1;/3p*">
<field name="NUM">0</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="Vo(;lUGB-QZN=58BZF!R">
<field name="OP">NEQ</field>
<value name="A">
<block type="variables_get" id="^o4YL4G:%o}?[?#T;X|.">
<field name="VAR" id="pv(p0MFmpT1lVnbLheY6">status</field>
</block>
</value>
<value name="B">
<block type="math_number" id="vYS1pWDgoC!n),vnAE">
<field name="NUM">2</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="a0WQEB$![21Wv26rxO,">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">shelly.0.SHSW-25#483FDA827F5E#1.Shutter.Position</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="math_number" id="JGjP}F{flmWbJV+g~^kP">
<field name="NUM">0</field>
</block>
</value>
</block>
</statement>
</block>
</statement>
<next>
<block type="schedule" id="^8M(|n|ayd4hKam|IYk|">
<field name="SCHEDULE">0 8 * * *</field>
<statement name="STATEMENT">
<block type="controls_if" id="Zt|Z95wmZv?/fkTFt||7">
<value name="IF0">
<block type="logic_operation" id="-fzXwLzXNpZR8JOD:C{Y" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id=",}Q!hs_J_/#C1]K6VodI">
<field name="OP">NEQ</field>
<value name="A">
<block type="variables_get" id="RA@?VHWjZtKNn1,Q@.}V">
<field name="VAR" id="W[~p(rzjRofohEAF2v7o">position</field>
</block>
</value>
<value name="B">
<block type="math_number" id="MwvnB5if;Ht?y|yN@3-x">
<field name="NUM">100</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="bUNRlGl`*m{u?FUA1zwI">
<field name="OP">NEQ</field>
<value name="A">
<block type="variables_get" id="o7=1pBa?V1P,{[W#APbm">
<field name="VAR" id="pv(p0MFmpT1lVnbLheY6">status</field>
</block>
</value>
<value name="B">
<block type="math_number" id="HQve/P]r^h*3tg?,).Xt">
<field name="NUM">2</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="$O#iV.f]s{9R9KfuI0a!">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">shelly.0.SHSW-25#483FDA827F5E#1.Shutter.Position</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="math_number" id="t*|O3bI@hXcF|]$d@?n}">
<field name="NUM">100</field>
</block>
</value>
</block>
</statement>
</block>
</statement>
<next>
<block type="on_ext" id="*S-*-?Kmj=azHSy?ONjv">
<mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
<field name="CONDITION">ne</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="ig%Y@m34^U)S,u/a.}vJ">
<field name="oid">default</field>
</shadow>
<block type="field_oid" id="p2Mts=2:q|fqfG4+vV7x">
<field name="oid">default</field>
</block>
</value>
<statement name="STATEMENT">
<block type="controls_if" id="V=v~wkUN?0MtS8{Z}MU;">
<value name="IF0">
<block type="logic_operation" id=",57UBvJH*0n48c$2oa{@" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="time_compare" id="M33;_l5@kPT.n8}H:}Mj">
<mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true"></mutation>
<field name="OPTION">not between</field>
<field name="START_TIME">08:00</field>
<field name="END_TIME">21:00</field>
</block>
</value>
<value name="B">
<block type="logic_operation" id="%K9}*5[i%D,^nIyR!f3d" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="!cwo7SnF%X]M:HRQgM[j">
<field name="OP">NEQ</field>
<value name="A">
<block type="variables_get" id="$X-c*.H$Pc_S+_CO5r6C">
<field name="VAR" id="W[~p(rzjRofohEAF2v7o">position</field>
</block>
</value>
<value name="B">
<block type="math_number" id="P7yW;nmQ9C$DQ,$z5OE$">
<field name="NUM">0</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="fL`QA]6C?5?(wJB~?AX2">
<field name="OP">EQ</field>
<value name="A">
<block type="on_source" id="i[gNu_+^m[._+(I|)iVg">
<field name="ATTR">state.val</field>
</block>
</value>
<value name="B">
<block type="math_number" id="LW[wCFC,VP?CAWio~f61">
<field name="NUM">0</field>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="!-%XT3uBo~rwxR0sg,^@">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">shelly.0.SHSW-25#483FDA827F5E#1.Shutter.Position</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="math_number" id="^WpfM,@ABGl=Wow-]1(P">
<field name="NUM">0</field>
</block>
</value>
</block>
</statement>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
<block type="comment" id="}2FkDn!D$!KcUI3Q|w:[" x="338" y="637">
<field name="COMMENT">hier Tür status objekt</field>
</block>
</xml>