<xml xmlns="https://developers.google.com/blockly/xml">
  <variables>
    <variable type="timeout" id="Poolpumpe_aus2">Poolpumpe_aus2</variable>
    <variable type="timeout" id="Poolpumpe_aus3">Poolpumpe_aus3</variable>
    <variable type="timeout" id="Poolpumpe_aus">Poolpumpe_aus</variable>
  </variables>
  <block type="schedule" id=":*un9G`__/R*jH$):bs(" x="-487" y="212">
    <field name="SCHEDULE">*/60 8-17 * * *</field>
    <statement name="STATEMENT">
      <block type="debug" id="}7UU_RSo`jf{@M%Ty$Vq">
        <field name="Severity">info</field>
        <value name="TEXT">
          <shadow type="text" id="0:9KM~MH|Qvu#6+L*[F,">
            <field name="TEXT">Pool-Pumpen-Skript aktiv</field>
          </shadow>
        </value>
        <next>
          <block type="controls_if" id="Z`^K2b^Y^M`.7M5*P^TI">
            <value name="IF0">
              <block type="logic_compare" id="3^I-[A#~=J?u@*CeW_v4">
                <field name="OP">EQ</field>
                <value name="A">
                  <block type="get_value" id="LNZbeT|yqKVT*Wb_%,ed">
                    <field name="ATTR">val</field>
                    <field name="OID">0_userdata.0.VIS.Pool_Pumpe_Automatik_Modus</field>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_boolean" id=",*O=g,;ZS.%xTp_A]Ti$">
                    <field name="BOOL">TRUE</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="controls_if" id="Z)E^6cu^?Ta(GFCcO~fz">
                <mutation elseif="2"></mutation>
                <value name="IF0">
                  <block type="logic_multi_and" id=":q%9Ey)T1z$_gOnY!K;[">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                    <value name="AND0">
                      <block type="time_compare_ex" id="i%+zqhd]ebh}k|aM@CWc">
                        <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">between</field>
                        <value name="START_TIME">
                          <shadow type="text" id="]P7@4xQ^UOjtauw4.k=L">
                            <field name="TEXT">10:00</field>
                          </shadow>
                        </value>
                        <value name="END_TIME">
                          <shadow type="text" id="KsS;iY0WbQk#tV63?$K3">
                            <field name="TEXT">17:00</field>
                          </shadow>
                        </value>
                      </block>
                    </value>
                    <value name="AND1">
                      <block type="logic_compare" id="{?fN1aFw.O`%Bf4Xt-KQ">
                        <field name="OP">GT</field>
                        <value name="A">
                          <block type="get_value" id="Z^|p=(C=UL4,8gu:Um3A">
                            <field name="ATTR">val</field>
                            <field name="OID">pvforecast.0.summary.power.now</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="+6WxQ/j^:HlLBGU#n@yO">
                            <field name="NUM">300</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="debug" id="FMm_(|k]M`:?;QOl3O[G">
                    <field name="Severity">info</field>
                    <value name="TEXT">
                      <shadow type="text" id="ks|ClF*@~f%Md7Srwee#">
                        <field name="TEXT">es ist wischen 10 und 17 Uhr, es gibt eine Prognose von &gt; 200W; Poolpumpe ein für 30 Minuten</field>
                      </shadow>
                    </value>
                    <next>
                      <block type="control" id="(~:y$}prZC%sv.REdH@m">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">alias.0.10-Garten.Poolpumpe.SET</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="JQ`9Du(@Zzyd86K#LCC2">
                            <field name="BOOL">TRUE</field>
                          </block>
                        </value>
                        <next>
                          <block type="update" id="f4q9Ig}u4cTQqoTny0.1">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                            <field name="OID">alias.0.10-Garten.Poolpumpe_an</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="h,J0Xz}}uA4Gj~i9w_G#">
                                <field name="BOOL">TRUE</field>
                              </block>
                            </value>
                            <next>
                              <block type="telegram" id="?!Vc9HHh?6qvf%2)Rccm">
                                <field name="INSTANCE"></field>
                                <field name="LOG"></field>
                                <field name="SILENT">FALSE</field>
                                <field name="PARSEMODE">default</field>
                                <field name="ESCAPING">FALSE</field>
                                <field name="DISABLE_WEB_PAGE_PREVIEW">FALSE</field>
                                <value name="MESSAGE">
                                  <shadow type="text" id="v{-%jE:y_RloDQzLYx[|">
                                    <field name="TEXT">text</field>
                                  </shadow>
                                  <block type="text" id="6~SH]sFiOJe:*1rsV`J?">
                                    <field name="TEXT">es ist wischen 10 und 17 Uhr, es gibt eine Prognose von &gt; 300W; Poolpumpe ein für 30 Minuten</field>
                                  </block>
                                </value>
                                <value name="USERNAME">
                                  <block type="text" id="C6.FTni,tGFCy35p~j[(">
                                    <field name="TEXT"> Ryck</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="timeouts_cleartimeout" id="moExpN%.pt@y-Et_Z@4*">
                                    <field name="NAME">Poolpumpe_aus2</field>
                                    <next>
                                      <block type="timeouts_settimeout" id="^kay,P%K.iNwlZIlZcR?">
                                        <field name="NAME">Poolpumpe_aus2</field>
                                        <field name="DELAY">30</field>
                                        <field name="UNIT">min</field>
                                        <statement name="STATEMENT">
                                          <block type="control" id="De8KB@J~@Ii}Jd/O~l7O">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                            <field name="OID">alias.0.10-Garten.Poolpumpe.SET</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="Me9z-JY`}]|Xfu)ICC/x">
                                                <field name="BOOL">FALSE</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="update" id=":Bt0pC[n,4wLXw.f9m~8">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                <field name="OID">alias.0.10-Garten.Poolpumpe_an</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="logic_boolean" id="v}5{EdD?m8VGF6%KA_Cq">
                                                    <field name="BOOL">FALSE</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="telegram" id="o~!]$hf|%d*VplCl|#RW">
                                                    <field name="INSTANCE"></field>
                                                    <field name="LOG"></field>
                                                    <field name="SILENT">FALSE</field>
                                                    <field name="PARSEMODE">default</field>
                                                    <field name="ESCAPING">FALSE</field>
                                                    <field name="DISABLE_WEB_PAGE_PREVIEW">FALSE</field>
                                                    <value name="MESSAGE">
                                                      <shadow type="text" id="v{-%jE:y_RloDQzLYx[|">
                                                        <field name="TEXT">text</field>
                                                      </shadow>
                                                      <block type="text" id="[~:%wP/Fd`:@pd9CR}3t">
                                                        <field name="TEXT">Poolpumpe aus</field>
                                                      </block>
                                                    </value>
                                                    <value name="USERNAME">
                                                      <block type="text" id="8VZw|!3mpG%EKDB#.BO-">
                                                        <field name="TEXT"> Ryck</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </statement>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
                <value name="IF1">
                  <block type="logic_multi_and" id="(/K9upkz^C~Src9;bj:u">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                    <value name="AND0">
                      <block type="time_compare_ex" id="]-m@IJL!-Udjou`Hk/Lo">
                        <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">between</field>
                        <value name="START_TIME">
                          <shadow type="text" id="d}3zbGm-2D7P:E_e}skJ">
                            <field name="TEXT">10:00</field>
                          </shadow>
                        </value>
                        <value name="END_TIME">
                          <shadow type="text" id="HR0XM|=eConSoaRJyR?6">
                            <field name="TEXT">17:00</field>
                          </shadow>
                        </value>
                      </block>
                    </value>
                    <value name="AND1">
                      <block type="logic_compare" id="=7!`c)VoUqG2}0w5AL;*">
                        <field name="OP">LT</field>
                        <value name="A">
                          <block type="get_value" id="C4^l,no%}9WK;SMz|A.,">
                            <field name="ATTR">val</field>
                            <field name="OID">pvforecast.0.summary.power.now</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="hq6`bK/S}=RV5M2;g(=g">
                            <field name="NUM">300</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO1">
                  <block type="debug" id="Y]#Y26oN^UgfFI0;;V19">
                    <field name="Severity">info</field>
                    <value name="TEXT">
                      <shadow type="text" id="E1}aFsT.fGSP3!2@Uh83">
                        <field name="TEXT">es ist wischen 10 und 17 Uhr, es gibt eine Prognose von &lt; 200W; Poolpumpe ein für 15 Minuten</field>
                      </shadow>
                    </value>
                    <next>
                      <block type="control" id="HTNSk`X$SQhAHHM,;-pe">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">alias.0.10-Garten.Poolpumpe.SET</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="yLU[GEZ2E$/qg=OVx0T^">
                            <field name="BOOL">TRUE</field>
                          </block>
                        </value>
                        <next>
                          <block type="update" id="+;;G:LmVg}Tm[o0:My(|">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                            <field name="OID">alias.0.10-Garten.Poolpumpe_an</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="+W5;yOZN$6BD^R$+AaW*">
                                <field name="BOOL">TRUE</field>
                              </block>
                            </value>
                            <next>
                              <block type="telegram" id=";JJM/WxZ/g!qk#]BFrW2">
                                <field name="INSTANCE"></field>
                                <field name="LOG"></field>
                                <field name="SILENT">FALSE</field>
                                <field name="PARSEMODE">default</field>
                                <field name="ESCAPING">FALSE</field>
                                <field name="DISABLE_WEB_PAGE_PREVIEW">FALSE</field>
                                <value name="MESSAGE">
                                  <shadow type="text" id="v{-%jE:y_RloDQzLYx[|">
                                    <field name="TEXT">text</field>
                                  </shadow>
                                  <block type="text" id="mNfr~rc_(2wfnNv0QE$.">
                                    <field name="TEXT">es ist wischen 10 und 17 Uhr, es gibt eine Prognose von &lt; 300W; Poolpumpe ein für 15 Minuten</field>
                                  </block>
                                </value>
                                <value name="USERNAME">
                                  <block type="text" id="0B!A.oI?fC;]syijt;9]">
                                    <field name="TEXT"> Ryck</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="timeouts_cleartimeout" id="|9o?5mb^;/}ZFy/U`]Fw">
                                    <field name="NAME">Poolpumpe_aus3</field>
                                    <next>
                                      <block type="timeouts_settimeout" id="fQUTVrSzqAQO.Xoe#WMN">
                                        <field name="NAME">Poolpumpe_aus3</field>
                                        <field name="DELAY">15</field>
                                        <field name="UNIT">min</field>
                                        <statement name="STATEMENT">
                                          <block type="control" id="T#e`6T*r3q!:X]iCMeB_">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                            <field name="OID">alias.0.10-Garten.Poolpumpe.SET</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="D)v#qO%aq6KX-F~R,]cL">
                                                <field name="BOOL">FALSE</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="update" id="hqZ0+XE?bcp]b^(AcGAc">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                <field name="OID">alias.0.10-Garten.Poolpumpe_an</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="logic_boolean" id="m8UOCR.p!,Ob)`$`arFc">
                                                    <field name="BOOL">FALSE</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="telegram" id="c|]KkC_Y=aIx}iYt7_5j">
                                                    <field name="INSTANCE"></field>
                                                    <field name="LOG"></field>
                                                    <field name="SILENT">FALSE</field>
                                                    <field name="PARSEMODE">default</field>
                                                    <field name="ESCAPING">FALSE</field>
                                                    <field name="DISABLE_WEB_PAGE_PREVIEW">FALSE</field>
                                                    <value name="MESSAGE">
                                                      <shadow type="text" id="v{-%jE:y_RloDQzLYx[|">
                                                        <field name="TEXT">text</field>
                                                      </shadow>
                                                      <block type="text" id="dv.@T`?BR#yYy-?qAbks">
                                                        <field name="TEXT">Poolpumpe aus</field>
                                                      </block>
                                                    </value>
                                                    <value name="USERNAME">
                                                      <block type="text" id="n]JZKO*IxS^Et{*t{n71">
                                                        <field name="TEXT"> Ryck</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </statement>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
                <value name="IF2">
                  <block type="logic_multi_or" id="(Ix9+Xz)8Y}B~2$=ITm4">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                    <value name="OR0">
                      <block type="time_compare_ex" id="n-qv9Sc}F$*c@4r^,,I+">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="false" actual_time="true"></mutation>
                        <field name="USE_ACTUAL_TIME">TRUE</field>
                        <field name="OPTION">&lt;</field>
                        <value name="START_TIME">
                          <shadow type="text" id="!-@b^weEyR.4Z0$yBBEs">
                            <field name="TEXT">10:00</field>
                          </shadow>
                        </value>
                      </block>
                    </value>
                    <value name="OR1">
                      <block type="time_compare_ex" id=":qCU%l(RtS8N.=q=*o?$">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="false" actual_time="true"></mutation>
                        <field name="USE_ACTUAL_TIME">TRUE</field>
                        <field name="OPTION">&gt;</field>
                        <value name="START_TIME">
                          <shadow type="text" id="D`5f|w2!D_{rJ#4QTheo">
                            <field name="TEXT">17:00</field>
                          </shadow>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO2">
                  <block type="control" id="s$%*Yn5OB7WY5wOI4Ruw">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                    <field name="OID">alias.0.10-Garten.Poolpumpe.SET</field>
                    <field name="WITH_DELAY">FALSE</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id="E$ZS5fo:5O*.Pv,gK!o1">
                        <field name="BOOL">TRUE</field>
                      </block>
                    </value>
                    <next>
                      <block type="update" id="py7=2{w6Du1gEC6P}hyk">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">alias.0.10-Garten.Poolpumpe_an</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="2[H:RAV~SJvv3jg~=Sgk">
                            <field name="BOOL">TRUE</field>
                          </block>
                        </value>
                        <next>
                          <block type="debug" id="OkXyuj?W%b0OEaIwx;Mx">
                            <field name="Severity">info</field>
                            <value name="TEXT">
                              <shadow type="text" id="10Lk0XGId7S+H0EU$v1k">
                                <field name="TEXT">Poolpumpe ein für 45 Minuten</field>
                              </shadow>
                              <block type="text" id=";P4TXGy$Amp?jGHx5Pji">
                                <field name="TEXT">es ist vor 10 oder nach 17 Uhr; Poolpumpe ein für 15 Minuten</field>
                              </block>
                            </value>
                            <next>
                              <block type="telegram" id="le3IS~J}{R3?mfG@Mcr=">
                                <field name="INSTANCE"></field>
                                <field name="LOG"></field>
                                <field name="SILENT">FALSE</field>
                                <field name="PARSEMODE">default</field>
                                <field name="ESCAPING">FALSE</field>
                                <field name="DISABLE_WEB_PAGE_PREVIEW">FALSE</field>
                                <value name="MESSAGE">
                                  <shadow type="text" id="v{-%jE:y_RloDQzLYx[|">
                                    <field name="TEXT">text</field>
                                  </shadow>
                                  <block type="text" id="RRY[p#q)6X-UHMR2F`3M">
                                    <field name="TEXT">es ist vor 10 oder nach 17 Uhr; Poolpumpe ein für 15 Minuten</field>
                                  </block>
                                </value>
                                <value name="USERNAME">
                                  <block type="text" id="U*=Bxc]Yk[nj_Ck?Gco.">
                                    <field name="TEXT"> Ryck</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="timeouts_cleartimeout" id="VfN}/zd~$J19~2%-NV%h">
                                    <field name="NAME">Poolpumpe_aus</field>
                                    <next>
                                      <block type="timeouts_settimeout" id="YkVRfL~TQM2Onw[Wf*5U">
                                        <field name="NAME">Poolpumpe_aus</field>
                                        <field name="DELAY">15</field>
                                        <field name="UNIT">min</field>
                                        <statement name="STATEMENT">
                                          <block type="control" id="Iq0=Cz7Y1;qjwT;*YUEv">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                            <field name="OID">alias.0.10-Garten.Poolpumpe.SET</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="9WE=oieoAfN;,ZsYL2d9">
                                                <field name="BOOL">FALSE</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="update" id="2u#L|vK63Zm*65N0m!aJ">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                <field name="OID">alias.0.10-Garten.Poolpumpe_an</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="logic_boolean" id="EtQcf}w1LDF/UV6aV,{-">
                                                    <field name="BOOL">FALSE</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="telegram" id="`hu)%aR9I[01NtCi,CPF">
                                                    <field name="INSTANCE"></field>
                                                    <field name="LOG"></field>
                                                    <field name="SILENT">FALSE</field>
                                                    <field name="PARSEMODE">default</field>
                                                    <field name="ESCAPING">FALSE</field>
                                                    <field name="DISABLE_WEB_PAGE_PREVIEW">FALSE</field>
                                                    <value name="MESSAGE">
                                                      <shadow type="text" id="v{-%jE:y_RloDQzLYx[|">
                                                        <field name="TEXT">text</field>
                                                      </shadow>
                                                      <block type="text" id="SKn/{cO~E}XawmI}VICp">
                                                        <field name="TEXT">Poolpumpe aus</field>
                                                      </block>
                                                    </value>
                                                    <value name="USERNAME">
                                                      <block type="text" id="WT{1Wiq0(PfbE]Z./M]K">
                                                        <field name="TEXT"> Ryck</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </statement>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
              </block>
            </statement>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>