<xml xmlns="http://www.w3.org/1999/xhtml">
<variables>
<variable type="" id="bF1xF|Wnc?9aqBo-}j:F">ist</variable>
<variable type="" id="Cgu*4]bTekqu6B`AOVaM">soll</variable>
<variable type="" id="lS[T.(34r52Ro$RrYf$v">Tagessoll</variable>
<variable type="" id="?9qG~uNR}~O*-o9AVAYZ">aktor</variable>
<variable type="" id="prt;U,4Y$1:xn})ZeQ71">Nachtsoll</variable>
</variables>
<block type="on" id="d8M=06k^P_$Yh$j[{8|L" x="-987" y="-587">
<field name="OID">mihome.0.devices.weather_v1_158d0002321578.temperature</field>
<field name="CONDITION">any</field>
<field name="ACK_CONDITION"></field>
<statement name="STATEMENT">
<block type="controls_if" id="8-yMOI;phMDsfr~;V[2W">
<mutation elseif="2" else="1"></mutation>
<value name="IF0">
<block type="logic_operation" id="g^awKGhR7a,Z3-@C2/|Z" inline="false">
<field name="OP">OR</field>
<value name="A">
<block type="logic_compare" id="iUX5rOd`7?w{Umy8Ti8Y">
<field name="OP">EQ</field>
<value name="A">
<block type="time_get" id="D3xc7?^_P$8=92I.;5kK">
<mutation format="false" language="false"></mutation>
<field name="OPTION">M</field>
</block>
</value>
<value name="B">
<block type="math_number" id="8f^Acdo^6-=3[JI3mJ(p">
<field name="NUM">12</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="}^[sxxzogz{MOBfdfEyS">
<field name="OP">LT</field>
<value name="A">
<block type="time_get" id="7^OvZsjNw]hV^Y2zA2yp">
<mutation format="false" language="false"></mutation>
<field name="OPTION">M</field>
</block>
</value>
<value name="B">
<block type="math_number" id="*YJ}fF%z43Ez:~c(uw{B">
<field name="NUM">3</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="variables_set" id="%.l]Rt_l`]OS,B6Wb(i=">
<field name="VAR" id="lS[T.(34r52Ro$RrYf$v" variabletype="">Tagessoll</field>
<value name="VALUE">
<block type="math_number" id="Jkf6:GW^!p,rVb,GKkP9">
<field name="NUM">28</field>
</block>
</value>
<next>
<block type="variables_set" id="~zXbbWH}7-RHaI{1yL^b">
<field name="VAR" id="prt;U,4Y$1:xn})ZeQ71" variabletype="">Nachtsoll</field>
<value name="VALUE">
<block type="math_number" id="ES4v@p@Ix|N/{.j~xe8*">
<field name="NUM">24</field>
</block>
</value>
</block>
</next>
</block>
</statement>
<value name="IF1">
<block type="logic_compare" id="8D6(!F^,+d/gvVzRu@!5">
<field name="OP">LT</field>
<value name="A">
<block type="time_get" id="]RR)o#6Z(3Isp{G_j3VD">
<mutation format="false" language="false"></mutation>
<field name="OPTION">M</field>
</block>
</value>
<value name="B">
<block type="math_number" id="oY^Mli;qUetc_[k^-v@w">
<field name="NUM">6</field>
</block>
</value>
</block>
</value>
<statement name="DO1">
<block type="variables_set" id="}F@zjdF4Gh_5Ww}hf]PD">
<field name="VAR" id="lS[T.(34r52Ro$RrYf$v" variabletype="">Tagessoll</field>
<value name="VALUE">
<block type="math_number" id="vv3~^Fw,PfY*:]]SlP/E">
<field name="NUM">29</field>
</block>
</value>
<next>
<block type="variables_set" id="$A{kn#Q)3`^M7+xo~0R,">
<field name="VAR" id="prt;U,4Y$1:xn})ZeQ71" variabletype="">Nachtsoll</field>
<value name="VALUE">
<block type="math_number" id="J_#x^in`q`4OtGn5j3=?">
<field name="NUM">26</field>
</block>
</value>
</block>
</next>
</block>
</statement>
<value name="IF2">
<block type="logic_compare" id="l8m@TAVItkEcBqf@`e[u">
<field name="OP">LT</field>
<value name="A">
<block type="time_get" id="r@V]M]hXw.X*t*Kz/3[8">
<mutation format="false" language="false"></mutation>
<field name="OPTION">M</field>
</block>
</value>
<value name="B">
<block type="math_number" id="cu`IR32c;eZe3S~h?l1%">
<field name="NUM">9</field>
</block>
</value>
</block>
</value>
<statement name="DO2">
<block type="variables_set" id="d1h_q@[A,vableeCu}Pk">
<field name="VAR" id="lS[T.(34r52Ro$RrYf$v" variabletype="">Tagessoll</field>
<value name="VALUE">
<block type="math_number" id="5mcGtuJ)/2Q~ha2!cn24">
<field name="NUM">32</field>
</block>
</value>
<next>
<block type="variables_set" id="zz8}a-[BRF=gSFiobre,">
<field name="VAR" id="prt;U,4Y$1:xn})ZeQ71" variabletype="">Nachtsoll</field>
<value name="VALUE">
<block type="math_number" id=")@[eR9f^o7tZC5jSUDZT">
<field name="NUM">30</field>
</block>
</value>
</block>
</next>
</block>
</statement>
<statement name="ELSE">
<block type="variables_set" id="bIip$EC]g?-{~4zPXXkq">
<field name="VAR" id="lS[T.(34r52Ro$RrYf$v" variabletype="">Tagessoll</field>
<value name="VALUE">
<block type="math_number" id=":VJ$p)qSL/61CF%M[q;,">
<field name="NUM">30</field>
</block>
</value>
<next>
<block type="variables_set" id="5)rGP-sVEC~y!pVGNOLJ">
<field name="VAR" id="prt;U,4Y$1:xn})ZeQ71" variabletype="">Nachtsoll</field>
<value name="VALUE">
<block type="math_number" id="dzZU~MjAY{MM$|f/O#]B">
<field name="NUM">28</field>
</block>
</value>
</block>
</next>
</block>
</statement>
<next>
<block type="controls_if" id="tqj]c9z!29H`!Idm${_a">
<mutation else="1"></mutation>
<value name="IF0">
<block type="time_compare" id="Eb8dLv|-1R6XIc`Wru~0">
<mutation end_time="true"></mutation>
<field name="OPTION">between</field>
<field name="START_TIME">09:00</field>
<field name="END_TIME">20:00</field>
</block>
</value>
<statement name="DO0">
<block type="procedures_callnoreturn" id="*wIu7J*/)DB/(MCUvVNF" inline="true">
<mutation name="Regler">
<arg name="ist"></arg>
<arg name="soll"></arg>
</mutation>
<value name="ARG0">
<block type="on_source" id="ArzmS4VQ4Hb^pgIG_fo?">
<field name="ATTR">state.val</field>
</block>
</value>
<value name="ARG1">
<block type="variables_get" id="lt{@-X8A3RJF}!E9xg;L">
<field name="VAR" id="lS[T.(34r52Ro$RrYf$v" variabletype="">Tagessoll</field>
</block>
</value>
</block>
</statement>
<statement name="ELSE">
<block type="procedures_callnoreturn" id="$4k{;]z?~Dp)P*dHGlXS" inline="true">
<mutation name="Regler">
<arg name="ist"></arg>
<arg name="soll"></arg>
</mutation>
<value name="ARG0">
<block type="on_source" id="6q1C8$4]0TLNTl/OMoS}">
<field name="ATTR">state.val</field>
</block>
</value>
<value name="ARG1">
<block type="variables_get" id="R^-+8:6JAd8zy6WuG%xS">
<field name="VAR" id="prt;U,4Y$1:xn})ZeQ71" variabletype="">Nachtsoll</field>
</block>
</value>
</block>
</statement>
<next>
<block type="controls_if" id="7tC3QtnbS[#f[st385TK">
<value name="IF0">
<block type="logic_compare" id="BS[,Cian(C|t#_4^N.^J">
<field name="OP">NEQ</field>
<value name="A">
<block type="get_value_var" id="1jo*`VAZdDC+$C,ep3o3">
<field name="ATTR">val</field>
<value name="OID">
<shadow type="text" id="rHk4II?vZ#Ok-buhY-le">
<field name="TEXT">sonoff.0.sonoff-Rack-Schlangen.POWER1</field>
</shadow>
</value>
</block>
</value>
<value name="B">
<block type="variables_get" id="BEBiQ4Ne-C.kkXl@mrb|">
<field name="VAR" id="?9qG~uNR}~O*-o9AVAYZ" variabletype="">aktor</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="]2+3.aeXxPWVXlE,;}4q">
<mutation delay_input="false"></mutation>
<field name="OID">sonoff.0.sonoff-Rack-Schlangen.POWER1</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="variables_get" id="BxOpf1`0=}{|#)BnlW|n">
<field name="VAR" id="?9qG~uNR}~O*-o9AVAYZ" variabletype="">aktor</field>
</block>
</value>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
<block type="procedures_defnoreturn" id="kb-O}ffpR!p-{y(H{7kn" x="-512" y="-187">
<mutation>
<arg name="ist" varid="bF1xF|Wnc?9aqBo-}j:F"></arg>
<arg name="soll" varid="Cgu*4]bTekqu6B`AOVaM"></arg>
</mutation>
<field name="NAME">Regler</field>
<comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
<statement name="STACK">
<block type="controls_if" id="uBXU(T~2C%^)46+Si?7X">
<mutation elseif="1"></mutation>
<value name="IF0">
<block type="logic_compare" id="k4D02ADyI/QoRh}r*V%Y">
<field name="OP">LTE</field>
<value name="A">
<block type="variables_get" id="Z5E5ZG~r3tAGoNTS5td7">
<field name="VAR" id="bF1xF|Wnc?9aqBo-}j:F" variabletype="">ist</field>
</block>
</value>
<value name="B">
<block type="variables_get" id="#an=Dx+1C}BaTs0r,%8;">
<field name="VAR" id="Cgu*4]bTekqu6B`AOVaM" variabletype="">soll</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="variables_set" id="DpB@.$tm{{mCxSc$1+0l">
<field name="VAR" id="?9qG~uNR}~O*-o9AVAYZ" variabletype="">aktor</field>
<value name="VALUE">
<block type="logic_boolean" id="^D_0pWJUUzH;EN6q{W4,">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</statement>
<value name="IF1">
<block type="logic_compare" id="kZIi4OoR[oz))CJNRC*.">
<field name="OP">GTE</field>
<value name="A">
<block type="variables_get" id="Fj%$pQV.mnq^!KVAWQ}%">
<field name="VAR" id="bF1xF|Wnc?9aqBo-}j:F" variabletype="">ist</field>
</block>
</value>
<value name="B">
<block type="math_arithmetic" id="+W/t_av2pk+^lH0svpWT">
<field name="OP">ADD</field>
<value name="A">
<shadow type="math_number" id="+odctnC6b23q#EZXBnd:">
<field name="NUM">1</field>
</shadow>
<block type="variables_get" id="+uqFEF/UH0Q92DU4DDWb">
<field name="VAR" id="Cgu*4]bTekqu6B`AOVaM" variabletype="">soll</field>
</block>
</value>
<value name="B">
<shadow type="math_number" id=")a:3t{4J%_.O(N?$7%N5">
<field name="NUM">1</field>
</shadow>
</value>
</block>
</value>
</block>
</value>
<statement name="DO1">
<block type="variables_set" id="E0)N%8C!IC[DGCSSKB7Y">
<field name="VAR" id="?9qG~uNR}~O*-o9AVAYZ" variabletype="">aktor</field>
<value name="VALUE">
<block type="logic_boolean" id="c(0Px%3xu=^}z%~#7Qk/">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</statement>
</block>
</statement>
</block>
</xml>