<xml xmlns="https://developers.google.com/blockly/xml">
  <variables>
    <variable id=")~1|eKPK*J4zn`a*p1NZ">url</variable>
    <variable id="RMLAYk*60ZPAj/;Ig3~_">body</variable>
    <variable id="@66;y~|^4vr##e+g9JEA">Liste</variable>
    <variable id="2C!q61acmtBV~=Q_d+[3">Wert</variable>
    <variable id="[e4Qd~X*/,YuV7XAmiwA">EPEX_BEV_BAT_Kapazität</variable>
    <variable id="u{=u^?=z;U#:/Tr%ta7i">zähler</variable>
    <variable id="}*+,Qt.$dflnL[W+E#Rl">EPEX-Preisliste</variable>
    <variable id=",Pbgu8P~f{nfIV(M0|B`">PushoverText</variable>
    <variable id="#P{Lk8YapEZd6^5B-U2j">EPEX_BEV_cPmax</variable>
    <variable id="dDAU~0/noi`pP5GUkt+c">FLG_neue_EPEX-Preise_abwarten</variable>
    <variable id="$nWBek=dxUxuc;sAM~D{">von</variable>
    <variable id="n%ADrvAiux:BjU1fG6SN">bis</variable>
    <variable id="e$]Zz_mzz?a:[9%vrl+q">LadestundenZähler</variable>
    <variable id="-`1W?h};Mzx,LXQ(SJVs">FLG_EPEX-Stunde_abwarten</variable>
    <variable id="pu:Rt)G{,7uRfCoGPRo^">FLG_Tagesorientierung</variable>
    <variable id="|7^rxEv[WG[-)a|86.NZ">EPEX_BEV_Ladezeit_ziel</variable>
    <variable id="eM%g5|~a+#wQsS}6obku">WARP_acP</variable>
    <variable id="nu,y#!iWue%SF`{|Il0*">EPEX_BEV_SoC_ziel</variable>
    <variable id="aRhIEQnV}36tIZAUyWK:">BEV_SoC_aktuell</variable>
    <variable id="~:mQAl;qyB4Ec3u8-.Z8">IstStunde</variable>
    <variable id="yf6cig:nb!%;w?V@!fXh">BEV_Ladedauer_benötigt</variable>
    <variable id="[#A-aH^S8KZNUWvRvVtO">FLG_fehlende_Zeit</variable>
    <variable id="._$(d*EJ[MyQbNq!s:za">BEV_Ladeenergie_benötigt</variable>
    <variable id="i5wUx7OaH*Ky|?CJgb?`">EPEX_Preise</variable>
    <variable id="z~p#Xx[:9#-T,A`(Wh[S">EPEX_Preise_heute</variable>
    <variable id="[!r~N:(b{9+|#4iK!A9{">EPEX_Preise_morgen</variable>
    <variable id=";Cy~uecA2Nc?BV$qmBp4">FLG_KalkulationsartÜbermorgen</variable>
    <variable id=",AW^jTM3PY~#|4H~,mKb">EPEX_BEV_kalkulierte_Kosten</variable>
    <variable type="cron" id="CRON_mit_neuen_EPEX-Preise_neu_berechnen">CRON_mit_neuen_EPEX-Preise_neu_berechnen</variable>
    <variable type="cron" id="CRON_zur_vollen_Stunde">CRON_zur_vollen_Stunde</variable>
    <variable type="timeout" id="timeout">timeout</variable>
  </variables>
  <block type="comment" id="adwV@a-ji2$#VzL6ypl:" x="13" y="13">
    <field name="COMMENT">Prüfung auf geänderte Vorgabewerte im Betrieb</field>
    <next>
      <block type="on_ext" id="*T!|/Q?8lrjj:t6AxjHU">
        <mutation xmlns="http://www.w3.org/1999/xhtml" items="5"></mutation>
        <field name="CONDITION">ne</field>
        <field name="ACK_CONDITION"></field>
        <value name="OID0">
          <shadow type="field_oid" id="ECwBOQA0G5?bjPnYQZ$$">
            <field name="oid">0_userdata.0.Warp.BEV.BEV_Kapazität</field>
          </shadow>
        </value>
        <value name="OID1">
          <shadow type="field_oid" id="8q9~(vKSST=mxgBnS4ly">
            <field name="oid">0_userdata.0.Warp.BEV.BEV_cP_max</field>
          </shadow>
        </value>
        <value name="OID2">
          <shadow type="field_oid" id="SlnSqwHc4PI@[*+PXd%T">
            <field name="oid">0_userdata.0.Warp.EPEX.EPEX_BEV_Ladezeit_ziel</field>
          </shadow>
        </value>
        <value name="OID3">
          <shadow type="field_oid" id="#9#CQ9DZ!z~/F+^$,+eA">
            <field name="oid">0_userdata.0.Warp.EPEX.EPEX_BEV_SoC_ziel</field>
          </shadow>
        </value>
        <value name="OID4">
          <shadow type="field_oid" id="-dg:{^@@5$K^!x)S|$`.">
            <field name="oid">0_userdata.0.Warp.EPEX.EPEX_Kalkulation_bei_übermorgen</field>
          </shadow>
        </value>
        <statement name="STATEMENT">
          <block type="debug" id="$k*)-0ap^`~_hm+Qo[]r">
            <field name="Severity">log</field>
            <value name="TEXT">
              <shadow type="text" id="Y71Sqb4IO({nTMqk0V!M">
                <field name="TEXT">VARIABLEN ÜBERWACHUNG</field>
              </shadow>
            </value>
            <next>
              <block type="comment" id="W_+VJiOX+thP[zd9LQDf">
                <field name="COMMENT">Alles STOPPEN was laufen könnte</field>
                <next>
                  <block type="procedures_callnoreturn" id="s]4xG#T#~H#i5Kfc?uor">
                    <mutation name="FKT_9_alles_stoppen"></mutation>
                    <next>
                      <block type="procedures_callnoreturn" id=":U^(WkVx[6z0Lem;[?FD">
                        <mutation name="FKT_1_Variablen_laden"></mutation>
                        <next>
                          <block type="controls_if" id="ZmNv+e42jK52n,kz{}!J">
                            <value name="IF0">
                              <block type="logic_operation" id="mPcz/uCwi(.t7@+xH/][">
                                <field name="OP">AND</field>
                                <value name="A">
                                  <block type="logic_compare" id=";vjq(F@~=?6@le+,QRoN">
                                    <field name="OP">EQ</field>
                                    <value name="A">
                                      <block type="get_value" id="M1rjXspe%#,mlIYhP}7k">
                                        <field name="ATTR">val</field>
                                        <field name="OID">0_userdata.0.Warp.Betriebsmodus</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="text" id="0luJKDNo5t!:$nr)oWx!">
                                        <field name="TEXT">EPEX</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_operation" id="hPvo~/-$/6#~`qm#ybFU">
                                    <field name="OP">AND</field>
                                    <value name="A">
                                      <block type="logic_compare" id="Q:P4~1scWJX6bRolSWU|">
                                        <field name="OP">EQ</field>
                                        <value name="A">
                                          <block type="get_value" id="qOQRxKZ8Fu%2lT{TUra~">
                                            <field name="ATTR">val</field>
                                            <field name="OID">0_userdata.0.Warp.Ladevorgang.LV_Status</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="text" id="Ir5U81^$se1b]V%.rW{X">
                                            <field name="TEXT">LV_starten</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_compare" id="K_|^%dAjEh85opP./[wv">
                                        <field name="OP">GT</field>
                                        <value name="A">
                                          <block type="variables_get" id="fBL)%[XW9PZhqS#Lmi/4">
                                            <field name="VAR" id="nu,y#!iWue%SF`{|Il0*">EPEX_BEV_SoC_ziel</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="variables_get" id="CEpvy5y6k@glqtP-feQC">
                                            <field name="VAR" id="aRhIEQnV}36tIZAUyWK:">BEV_SoC_aktuell</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="comment" id="n{BUp3.Y|4p#7=$IYFa0">
                                <field name="COMMENT">Neu berechnen / starten / steuern / laden</field>
                                <next>
                                  <block type="variables_set" id="h8gQfR%weAX$-xtR1g+Q">
                                    <field name="VAR" id="._$(d*EJ[MyQbNq!s:za">BEV_Ladeenergie_benötigt</field>
                                    <value name="VALUE">
                                      <block type="math_arithmetic" id="[%yYs(xCoSHVjF$CtKvS">
                                        <field name="OP">MULTIPLY</field>
                                        <value name="A">
                                          <shadow type="math_number" id="vYEUI_a.ua4eNm0]blbu">
                                            <field name="NUM">1</field>
                                          </shadow>
                                          <block type="math_arithmetic" id="qa+.%6*,;BmDAGMC-ORU">
                                            <field name="OP">MINUS</field>
                                            <value name="A">
                                              <shadow type="math_number" id="xA-:rtl#7gSG+g#;O0Ic">
                                                <field name="NUM">1</field>
                                              </shadow>
                                              <block type="variables_get" id="].kd-bK$G;DFM0{Q+OgD">
                                                <field name="VAR" id="nu,y#!iWue%SF`{|Il0*">EPEX_BEV_SoC_ziel</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <shadow type="math_number" id="1qq.]lwcGwrhm%ba8luK">
                                                <field name="NUM">1</field>
                                              </shadow>
                                              <block type="variables_get" id="UH6=qylvGN]g:$Sl=saa">
                                                <field name="VAR" id="aRhIEQnV}36tIZAUyWK:">BEV_SoC_aktuell</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <shadow type="math_number" id="ZJLC1GuZ;Ilbu2$Do26x">
                                            <field name="NUM">1</field>
                                          </shadow>
                                          <block type="math_arithmetic" id="S#$!NSM.CO_t4|z2+$^F">
                                            <field name="OP">DIVIDE</field>
                                            <value name="A">
                                              <shadow type="math_number" id="%]C3k09__:v4b$T:ljd?">
                                                <field name="NUM">1</field>
                                              </shadow>
                                              <block type="variables_get" id="BZC@Kd#mN8ja%$9qcF9o">
                                                <field name="VAR" id="[e4Qd~X*/,YuV7XAmiwA">EPEX_BEV_BAT_Kapazität</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <shadow type="math_number" id="D0~aWTP1b}yHRqLpPd=!">
                                                <field name="NUM">100</field>
                                              </shadow>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="variables_set" id="iY@v0aBQyALW)XqIl),U">
                                        <field name="VAR" id="yf6cig:nb!%;w?V@!fXh">BEV_Ladedauer_benötigt</field>
                                        <value name="VALUE">
                                          <block type="math_round" id="C;;yjoSW]1;h.Ro+$U$K">
                                            <field name="OP">ROUNDUP</field>
                                            <value name="NUM">
                                              <shadow type="math_number" id="Ark_@fuf:zw*o$T$Nrd+">
                                                <field name="NUM">3.1</field>
                                              </shadow>
                                              <block type="math_arithmetic" id="j).SZ0O{aX?AAW%uUpD_">
                                                <field name="OP">ADD</field>
                                                <value name="A">
                                                  <shadow type="math_number" id="T_RjarGH}MHK|qw4dchT">
                                                    <field name="NUM">1</field>
                                                  </shadow>
                                                  <block type="math_arithmetic" id="zmanZSxVT4yJC:mk4vDP">
                                                    <field name="OP">MULTIPLY</field>
                                                    <value name="A">
                                                      <shadow type="math_number" id="yX6VG{k)5Ho^h!u=Ioc7">
                                                        <field name="NUM">1</field>
                                                      </shadow>
                                                      <block type="math_arithmetic" id="/c{P7IcV.}n!lKgaAKZ*">
                                                        <field name="OP">DIVIDE</field>
                                                        <value name="A">
                                                          <shadow type="math_number" id="t3Kuc+pDxl^`,:R6:C06">
                                                            <field name="NUM">1</field>
                                                          </shadow>
                                                          <block type="variables_get" id="2@9ZF`#w06D=R/Z8`wAZ">
                                                            <field name="VAR" id="._$(d*EJ[MyQbNq!s:za">BEV_Ladeenergie_benötigt</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <shadow type="math_number" id="-,+,%F!o`3)|w$k;KYPW">
                                                            <field name="NUM">1</field>
                                                          </shadow>
                                                          <block type="variables_get" id="{?`*).P}HW|-aX$]@O0h">
                                                            <field name="VAR" id="#P{Lk8YapEZd6^5B-U2j">EPEX_BEV_cPmax</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <shadow type="math_number" id="43f~.TTBKXHyKo@FM5Tq">
                                                        <field name="NUM">1000</field>
                                                      </shadow>
                                                    </value>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <shadow type="math_number" id=".X9fvD(|,LdTzSz#ekrD">
                                                    <field name="NUM">0.5</field>
                                                  </shadow>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="comment" id="!e*^0vUN]ZGJ0a(12tIy">
                                            <field name="COMMENT">2 dimensionale LEERE Liste vorbereiten</field>
                                            <next>
                                              <block type="variables_set" id="R=t`|!VtZ5prRhM/),?Q">
                                                <field name="VAR" id="}*+,Qt.$dflnL[W+E#Rl">EPEX-Preisliste</field>
                                                <value name="VALUE">
                                                  <block type="lists_repeat" id="OqM/^YfF~IAB!S6kfy1X">
                                                    <value name="NUM">
                                                      <shadow type="math_number" id="]Gi$KEMijrMIPW%0{qBX">
                                                        <field name="NUM">48</field>
                                                      </shadow>
                                                    </value>
                                                    <value name="ITEM">
                                                      <block type="lists_repeat" id="FhDjc[UVRC/Jt9-9-^N^">
                                                        <value name="NUM">
                                                          <shadow type="math_number" id="rKY;jnO2qP3uc05uMGm*">
                                                            <field name="NUM">4</field>
                                                          </shadow>
                                                        </value>
                                                        <value name="ITEM">
                                                          <block type="math_number" id="$*OoCPI5jJYLMB~IT#Da">
                                                            <field name="NUM">0</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="procedures_callnoreturn" id=":R*.t[l]Mdb6UfZFX~3m">
                                                    <mutation name="FKT_Information_1_absetzen"></mutation>
                                                    <next>
                                                      <block type="procedures_callnoreturn" id="Xvm,0HEi7a_~Y4C|II)I">
                                                        <mutation name="FKT_2_Hauptroutine"></mutation>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </statement>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
      </block>
    </next>
  </block>
  <block type="comment" id="!7QEfU6~8waIiJPq@+}*" x="13" y="738">
    <field name="COMMENT">Überwachung auf Änderung der Ladefreigabe</field>
    <next>
      <block type="on" id="K6+fRa@j.`F..%tKYHzC">
        <field name="OID">0_userdata.0.Warp.Ladevorgang.LV_Status</field>
        <field name="CONDITION">ne</field>
        <field name="ACK_CONDITION"></field>
        <statement name="STATEMENT">
          <block type="debug" id="RsbsgS~7kQp|z:%87a-S">
            <field name="Severity">log</field>
            <value name="TEXT">
              <shadow type="text" id="+a|M+zse_H3L*Ctps(}T">
                <field name="TEXT">LV_STATUS ÜBERWACHUNG</field>
              </shadow>
            </value>
            <next>
              <block type="comment" id="=e75p{qJc0|EIIjv_-bx">
                <field name="COMMENT">wenn LV_Status geändert wurde</field>
                <next>
                  <block type="controls_if" id="@Fi1h5NP-ll@LA.N}K[5">
                    <mutation else="1"></mutation>
                    <value name="IF0">
                      <block type="logic_compare" id="s@lOzxeAHhskHom(Y+/Z">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="get_value" id=".FzIWGdPUO/^ztm_x4N0">
                            <field name="ATTR">val</field>
                            <field name="OID">0_userdata.0.Warp.Betriebsmodus</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="text" id=":pLFbc^:(k`^$uV2%+QI">
                            <field name="TEXT">EPEX</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="comment" id="fi5gH3,t$J*m(`ugqb-F">
                        <field name="COMMENT">wenn Betriebsmodus = EPEX</field>
                        <next>
                          <block type="debug" id=",2;cKL}FR4ivfX{n%h.D">
                            <field name="Severity">log</field>
                            <value name="TEXT">
                              <shadow type="text" id="gCVNY7IE1#:05vu!S;}^">
                                <field name="TEXT">Betriebsart   EPEX</field>
                              </shadow>
                            </value>
                            <next>
                              <block type="procedures_callnoreturn" id="TP!xye4:)VUf}riU6Z,A">
                                <mutation name="FKT_1_Variablen_laden"></mutation>
                                <next>
                                  <block type="variables_set" id="*`z#ars?@L8VrSqykt{o">
                                    <field name="VAR" id="aRhIEQnV}36tIZAUyWK:">BEV_SoC_aktuell</field>
                                    <value name="VALUE">
                                      <block type="get_value" id="=LnxZ}K`jrlXp`%Ii7k)">
                                        <field name="ATTR">val</field>
                                        <field name="OID">vw-connect.0.TMBLE9NY8PF062092.status.charging.status.battery.stateOfChargeInPercent</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="variables_set" id="rOCAV{S?#QYd(Wi^Ym{w">
                                        <field name="VAR" id="}*+,Qt.$dflnL[W+E#Rl">EPEX-Preisliste</field>
                                        <value name="VALUE">
                                          <block type="lists_repeat" id="`G;=}##an0Gc-X;5+cKe">
                                            <value name="NUM">
                                              <shadow type="math_number" id="r/86w^*?ilHqB=f)]5HQ">
                                                <field name="NUM">48</field>
                                              </shadow>
                                            </value>
                                            <value name="ITEM">
                                              <block type="lists_repeat" id="qf_$*M+|stzM:aN$;t7Z">
                                                <value name="NUM">
                                                  <shadow type="math_number" id="6s^nXH}@T$,-aPo:;E4;">
                                                    <field name="NUM">4</field>
                                                  </shadow>
                                                </value>
                                                <value name="ITEM">
                                                  <block type="math_number" id="#JFhVxX;~=%zjBi.d!C7">
                                                    <field name="NUM">0</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="variables_set" id="0anpL!bdsBMxh0zTYq!W">
                                            <field name="VAR" id="._$(d*EJ[MyQbNq!s:za">BEV_Ladeenergie_benötigt</field>
                                            <value name="VALUE">
                                              <block type="math_round" id="ESnt+oIBeP@EtvQ[WQ6w">
                                                <field name="OP">ROUNDUP</field>
                                                <value name="NUM">
                                                  <shadow type="math_number" id="%IczN,_xdi43tFJyES`m">
                                                    <field name="NUM">3.1</field>
                                                  </shadow>
                                                  <block type="math_arithmetic" id=")~dw?au;|51)q87_l?{5">
                                                    <field name="OP">MULTIPLY</field>
                                                    <value name="A">
                                                      <shadow type="math_number" id="vYEUI_a.ua4eNm0]blbu">
                                                        <field name="NUM">1</field>
                                                      </shadow>
                                                      <block type="math_arithmetic" id="@.;(Od3LO#uST|nA:%Z?">
                                                        <field name="OP">MINUS</field>
                                                        <value name="A">
                                                          <shadow type="math_number" id="xA-:rtl#7gSG+g#;O0Ic">
                                                            <field name="NUM">1</field>
                                                          </shadow>
                                                          <block type="variables_get" id="By=*uv%KQy8kYJ-cw6dY">
                                                            <field name="VAR" id="nu,y#!iWue%SF`{|Il0*">EPEX_BEV_SoC_ziel</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <shadow type="math_number" id="1qq.]lwcGwrhm%ba8luK">
                                                            <field name="NUM">1</field>
                                                          </shadow>
                                                          <block type="variables_get" id="ZImMk_,SUsR]l=+-QrDR">
                                                            <field name="VAR" id="aRhIEQnV}36tIZAUyWK:">BEV_SoC_aktuell</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <shadow type="math_number" id="ZJLC1GuZ;Ilbu2$Do26x">
                                                        <field name="NUM">1</field>
                                                      </shadow>
                                                      <block type="math_arithmetic" id="l}BMb=r-iPT!0@BW3}iB">
                                                        <field name="OP">DIVIDE</field>
                                                        <value name="A">
                                                          <shadow type="math_number" id="%]C3k09__:v4b$T:ljd?">
                                                            <field name="NUM">1</field>
                                                          </shadow>
                                                          <block type="variables_get" id="KV(M27Z(O0/tIF?q$4w:">
                                                            <field name="VAR" id="[e4Qd~X*/,YuV7XAmiwA">EPEX_BEV_BAT_Kapazität</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <shadow type="math_number" id=":usI^Rm-rZ8p~,ccw?E^">
                                                            <field name="NUM">100</field>
                                                          </shadow>
                                                        </value>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="variables_set" id="LGJk=lBJzkFlt-hKrlmk">
                                                <field name="VAR" id="yf6cig:nb!%;w?V@!fXh">BEV_Ladedauer_benötigt</field>
                                                <value name="VALUE">
                                                  <block type="math_round" id="u/v%Gy1AG:](d~R9(#R^">
                                                    <field name="OP">ROUNDUP</field>
                                                    <value name="NUM">
                                                      <shadow type="math_number" id="Ark_@fuf:zw*o$T$Nrd+">
                                                        <field name="NUM">3.1</field>
                                                      </shadow>
                                                      <block type="math_arithmetic" id="nO]=M4?sC]0({K*5siX*">
                                                        <field name="OP">MULTIPLY</field>
                                                        <value name="A">
                                                          <shadow type="math_number" id="yX6VG{k)5Ho^h!u=Ioc7">
                                                            <field name="NUM">1</field>
                                                          </shadow>
                                                          <block type="math_arithmetic" id="a0/;(1|H#99hM%x3o#5D">
                                                            <field name="OP">DIVIDE</field>
                                                            <value name="A">
                                                              <shadow type="math_number" id="t3Kuc+pDxl^`,:R6:C06">
                                                                <field name="NUM">1</field>
                                                              </shadow>
                                                              <block type="variables_get" id="FW-%fe%R2-uXQ#$5s_TP">
                                                                <field name="VAR" id="._$(d*EJ[MyQbNq!s:za">BEV_Ladeenergie_benötigt</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <shadow type="math_number" id="-,+,%F!o`3)|w$k;KYPW">
                                                                <field name="NUM">1</field>
                                                              </shadow>
                                                              <block type="variables_get" id="{FsOn_gnL97w%I^EH7#s">
                                                                <field name="VAR" id="#P{Lk8YapEZd6^5B-U2j">EPEX_BEV_cPmax</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <shadow type="math_number" id="5Elsa@8j2Ov`=Ho{(4aH">
                                                            <field name="NUM">1000</field>
                                                          </shadow>
                                                        </value>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="debug" id="H3kBRY,):e~1R?e%r@t}">
                                                    <field name="Severity">log</field>
                                                    <value name="TEXT">
                                                      <shadow type="text" id="vV6CpJRfli0om}RMRiFX">
                                                        <field name="TEXT">test</field>
                                                      </shadow>
                                                      <block type="text_join" id="es=opYIy7QWgkG)i-H)J">
                                                        <mutation items="4"></mutation>
                                                        <value name="ADD0">
                                                          <block type="text" id="TJm*2VC1_cm3Zg`G{h,@">
                                                            <field name="TEXT">EPEX  |  BEV_SoC_ziel: </field>
                                                          </block>
                                                        </value>
                                                        <value name="ADD1">
                                                          <block type="variables_get" id="sazc)@o:Wv|~Dac^Nwq%">
                                                            <field name="VAR" id="nu,y#!iWue%SF`{|Il0*">EPEX_BEV_SoC_ziel</field>
                                                          </block>
                                                        </value>
                                                        <value name="ADD2">
                                                          <block type="text" id="-MyO}%z4V3tZ{W8c6OHT">
                                                            <field name="TEXT">   |   BEV_SoC: </field>
                                                          </block>
                                                        </value>
                                                        <value name="ADD3">
                                                          <block type="variables_get" id="hnZ~K;oJqKKIv/^K;xU0">
                                                            <field name="VAR" id="aRhIEQnV}36tIZAUyWK:">BEV_SoC_aktuell</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="procedures_callnoreturn" id="WrKfz-oWuEEHTn+1LY?!">
                                                        <mutation name="FKT_9_alles_stoppen"></mutation>
                                                        <next>
                                                          <block type="controls_if" id="A81S80Y?@0^i!4v=:J4`">
                                                            <mutation else="1"></mutation>
                                                            <value name="IF0">
                                                              <block type="logic_compare" id="0{YR%LLC51UXXcxJX}--">
                                                                <field name="OP">EQ</field>
                                                                <value name="A">
                                                                  <block type="on_source" id="4Jrp(vNo4HvnQozpLcxU">
                                                                    <field name="ATTR">state.val</field>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="text" id="%Q8Ihdh9@xQ@2XK%z6rj">
                                                                    <field name="TEXT">LV_starten</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <statement name="DO0">
                                                              <block type="debug" id="2TH,|z)VvrQPFF6NS[Z^">
                                                                <field name="Severity">log</field>
                                                                <value name="TEXT">
                                                                  <shadow type="text" id="jsO@7SGX5XkY$kvtZ3Z;">
                                                                    <field name="TEXT">LV_STATUS FREIGEGEBEN</field>
                                                                  </shadow>
                                                                </value>
                                                                <next>
                                                                  <block type="comment" id="t?Bj,S7F|T/`CQzGk#:j">
                                                                    <field name="COMMENT">LV_Status hat Freigabe erteilt</field>
                                                                    <next>
                                                                      <block type="procedures_callnoreturn" id="p:rQjxep0N.C~g-,P4FO">
                                                                        <mutation name="FKT_1_Variablen_laden"></mutation>
                                                                        <next>
                                                                          <block type="procedures_callnoreturn" id="-#j,%;xw3~gr1PYfrbZ[">
                                                                            <mutation name="FKT_2_Hauptroutine"></mutation>
                                                                            <next>
                                                                              <block type="debug" id="c*-vJjMu%C0]LaNSRWlU">
                                                                                <field name="Severity">log</field>
                                                                                <value name="TEXT">
                                                                                  <shadow type="text" id="wKpCMO,D61AZ)(odl2H7">
                                                                                    <field name="TEXT">EPEX  |  LV_Status freigegeben  |  Ladevorgang wird kalkuliert</field>
                                                                                  </shadow>
                                                                                </value>
                                                                                <next>
                                                                                  <block type="timeouts_settimeout" id="]qJ[lwKmji@qM+=5:1]#">
                                                                                    <field name="NAME">timeout</field>
                                                                                    <field name="DELAY">2</field>
                                                                                    <field name="UNIT">sec</field>
                                                                                    <statement name="STATEMENT">
                                                                                      <block type="comment" id="B5nFaA$FjiW-EMPx#5ao">
                                                                                        <field name="COMMENT">Warten wegen Reihenfolge PushOver Nachrichten</field>
                                                                                        <next>
                                                                                          <block type="variables_set" id="|4A-+I{N#5VgO|$yU+FW">
                                                                                            <field name="VAR" id=",Pbgu8P~f{nfIV(M0|B`">PushoverText</field>
                                                                                            <value name="VALUE">
                                                                                              <block type="text_join" id="wz^xa}O5_:7M?qF%OqNk">
                                                                                                <mutation items="5"></mutation>
                                                                                                <value name="ADD0">
                                                                                                  <block type="text" id="5^KVzh4ah#*In^gq=8a*">
                                                                                                    <field name="TEXT">EPEX  |  BEV Ladevorgang gestartet   |   SoC: </field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="ADD1">
                                                                                                  <block type="variables_get" id="j0i{qL/,:pS):26c5}%(">
                                                                                                    <field name="VAR" id="aRhIEQnV}36tIZAUyWK:">BEV_SoC_aktuell</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="ADD2">
                                                                                                  <block type="text" id="{.Agj2jWF,vT@8VrZSjK">
                                                                                                    <field name="TEXT">% auf </field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="ADD3">
                                                                                                  <block type="variables_get" id="dMKE:4XA|h$Bw%Bq@Zc^">
                                                                                                    <field name="VAR" id="nu,y#!iWue%SF`{|Il0*">EPEX_BEV_SoC_ziel</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="ADD4">
                                                                                                  <block type="text" id="*)).soeDNj7GF1f33lo`">
                                                                                                    <field name="TEXT">%</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                              </block>
                                                                                            </value>
                                                                                            <next>
                                                                                              <block type="procedures_callnoreturn" id="vi,H9VzNoj}ob#y2`G3v">
                                                                                                <mutation name="FKT_Pushover_absetzen"></mutation>
                                                                                              </block>
                                                                                            </next>
                                                                                          </block>
                                                                                        </next>
                                                                                      </block>
                                                                                    </statement>
                                                                                  </block>
                                                                                </next>
                                                                              </block>
                                                                            </next>
                                                                          </block>
                                                                        </next>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </statement>
                                                            <statement name="ELSE">
                                                              <block type="debug" id="/X+/TyHEMwrVMnIJUN/g">
                                                                <field name="Severity">log</field>
                                                                <value name="TEXT">
                                                                  <shadow type="text" id="wx9[nH#HL6maK6A,63K4">
                                                                    <field name="TEXT">LV_STATUS GESPERRT</field>
                                                                  </shadow>
                                                                </value>
                                                                <next>
                                                                  <block type="comment" id="Lm$5yi{p4=xl~`)VTX}=">
                                                                    <field name="COMMENT">LV_Status hat Freigabe entzogen</field>
                                                                    <next>
                                                                      <block type="debug" id="P7p5/4AitQQ1BjGYh=:L">
                                                                        <field name="Severity">log</field>
                                                                        <value name="TEXT">
                                                                          <shadow type="text" id="4}e{0@:dci2Py;QnyNZQ">
                                                                            <field name="TEXT">EPEX  |  LV_Status gesperrt  |  alles wird gestoppt</field>
                                                                          </shadow>
                                                                        </value>
                                                                        <next>
                                                                          <block type="procedures_callnoreturn" id="Q0q~:WdnX5$1yV_leM-.">
                                                                            <mutation name="FKT_9_alles_stoppen"></mutation>
                                                                          </block>
                                                                        </next>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </statement>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </statement>
                    <statement name="ELSE">
                      <block type="debug" id="#q_G^@2XWomEAFKNtQRj">
                        <field name="Severity">log</field>
                        <value name="TEXT">
                          <shadow type="text" id="hiu7-Qq651v?G?;PIHjr">
                            <field name="TEXT">Betriebsart   NICHT   EPEX</field>
                          </shadow>
                        </value>
                        <next>
                          <block type="controls_if" id="381sy@topr9b`6E+W-c)">
                            <value name="IF0">
                              <block type="logic_compare" id="ms8(1=m]~@x1iwG=bDK*">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="get_value" id="}(J|Yu7D![-{x}~~=58v">
                                    <field name="ATTR">val</field>
                                    <field name="OID">0_userdata.0.Warp.Betriebsmodus</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="text" id="]EHpzZ#C2kcRJYQTp!$l">
                                    <field name="TEXT">OFF</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="comment" id="7YD#2xj6LF!ea0#qVU-F">
                                <field name="COMMENT">Nur hier wird bei "OFF" WARP_acP = 0 geschrieben</field>
                                <next>
                                  <block type="procedures_callnoreturn" id=".6;E(G8?^}~iVgpw-|sB">
                                    <mutation name="FKT_9_alles_stoppen"></mutation>
                                  </block>
                                </next>
                              </block>
                            </statement>
                          </block>
                        </next>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
      </block>
    </next>
  </block>
  <block type="procedures_defnoreturn" id="/sP*/+J*lv:Qj|x{MC/)" x="13" y="2313">
    <field name="NAME">FKT_1_Variablen_laden</field>
    <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
    <statement name="STACK">
      <block type="debug" id="yrfRQ{v^*~]vWmo(rJpa">
        <field name="Severity">log</field>
        <value name="TEXT">
          <shadow type="text" id=".r_Rjt0=+p9:?*-YcUO;">
            <field name="TEXT">FKT_1_VARIABLEN_LADEN</field>
          </shadow>
        </value>
        <next>
          <block type="variables_set" id="/~7aq(Gf|O?5ob%R@EZ2">
            <field name="VAR" id="[e4Qd~X*/,YuV7XAmiwA">EPEX_BEV_BAT_Kapazität</field>
            <value name="VALUE">
              <block type="get_value" id="500(]p}`8whY5{2r%vBZ">
                <field name="ATTR">val</field>
                <field name="OID">0_userdata.0.Warp.BEV.BEV_Kapazität</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="=ES^0L7H~KOBg^rv~{LX">
                <field name="VAR" id="#P{Lk8YapEZd6^5B-U2j">EPEX_BEV_cPmax</field>
                <value name="VALUE">
                  <block type="get_value" id=",HBa}_bh0`k/b+/vi7y5">
                    <field name="ATTR">val</field>
                    <field name="OID">0_userdata.0.Warp.BEV.BEV_cP_max</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="0)ho]6N@lE?4n^lKu8E-">
                    <field name="VAR" id="|7^rxEv[WG[-)a|86.NZ">EPEX_BEV_Ladezeit_ziel</field>
                    <value name="VALUE">
                      <block type="get_value" id="=aJUShm)GiF:#?Hq+9l*">
                        <field name="ATTR">val</field>
                        <field name="OID">0_userdata.0.Warp.EPEX.EPEX_BEV_Ladezeit_ziel</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="L`YU;P7t0XGww$y0EMN%">
                        <field name="VAR" id="nu,y#!iWue%SF`{|Il0*">EPEX_BEV_SoC_ziel</field>
                        <value name="VALUE">
                          <block type="get_value" id="00tGoMd8,elGCL(GScmY">
                            <field name="ATTR">val</field>
                            <field name="OID">0_userdata.0.Warp.EPEX.EPEX_BEV_SoC_ziel</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="L0}O.Yg|Fwe/6ZS)(X}Y">
                            <field name="VAR" id="aRhIEQnV}36tIZAUyWK:">BEV_SoC_aktuell</field>
                            <value name="VALUE">
                              <block type="get_value" id="e1V)|1{N@Od*XbZ,D,$/">
                                <field name="ATTR">val</field>
                                <field name="OID">vw-connect.0.TMBLE9NY8PF062092.status.charging.status.battery.stateOfChargeInPercent</field>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="lx#9r`vig8TKG/id{+.=">
                                <field name="VAR" id="z~p#Xx[:9#-T,A`(Wh[S">EPEX_Preise_heute</field>
                                <value name="VALUE">
                                  <block type="get_value" id="Q2%XgAu520[IcZ`~r9i{">
                                    <field name="ATTR">val</field>
                                    <field name="OID">0_userdata.0.Tibber.Stundenpreise_heute</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="variables_set" id="Z8e26vG[[U?!~u%^:iVv">
                                    <field name="VAR" id="[!r~N:(b{9+|#4iK!A9{">EPEX_Preise_morgen</field>
                                    <value name="VALUE">
                                      <block type="get_value" id="N_SIojfxGvCt:#[AVM2x">
                                        <field name="ATTR">val</field>
                                        <field name="OID">0_userdata.0.Tibber.Stundenpreise_morgen</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="variables_set" id="B`uqU1z.J*|!}OcX:}s6">
                                        <field name="VAR" id=";Cy~uecA2Nc?BV$qmBp4">FLG_KalkulationsartÜbermorgen</field>
                                        <value name="VALUE">
                                          <block type="get_value" id="/(R%,Ar{b3c@?[`~Eb$v">
                                            <field name="ATTR">val</field>
                                            <field name="OID">0_userdata.0.Warp.EPEX.EPEX_Kalkulation_bei_übermorgen</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="variables_set" id="BeCJB)A_!-.9M@U*oFf_">
                                            <field name="VAR" id="[#A-aH^S8KZNUWvRvVtO">FLG_fehlende_Zeit</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="A9twLB2(t:8A]OGoW62|">
                                                <field name="BOOL">FALSE</field>
                                              </block>
                                            </value>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" id="zkZ0ZoNo:lZ*h=UHuFNy" x="13" y="2663">
    <field name="NAME">FKT_2_Hauptroutine</field>
    <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
    <statement name="STACK">
      <block type="debug" id="d/URY=lZZNOX=Fn=6tC8">
        <field name="Severity">log</field>
        <value name="TEXT">
          <shadow type="text" id="zxA;,U.F_O93$.XB;kA`">
            <field name="TEXT">FKT_2_HAUPTROUTINE</field>
          </shadow>
        </value>
        <next>
          <block type="control" id="AY[3eZ=IO!]@.;=,7V:n">
            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
            <field name="OID">0_userdata.0.Warp.EPEX.EPEX_LV_Status</field>
            <field name="WITH_DELAY">FALSE</field>
            <value name="VALUE">
              <block type="logic_boolean" id="^+?8@T2Cs@k4a#Uw=/SA">
                <field name="BOOL">TRUE</field>
              </block>
            </value>
            <next>
              <block type="comment" id="B=0*^oRk7D/nQb-u`1iz">
                <field name="COMMENT">Welche EPEX Preise gelten - today/tomorrow?</field>
                <next>
                  <block type="controls_if" id="0=JOSh@Qb^YjSMTn0Va_">
                    <mutation else="1"></mutation>
                    <value name="IF0">
                      <block type="logic_compare" id="z.fJ$Iv$XKSk,j0I#uwH">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="time_get" id="A*a(.5jf{Hpog04R,E~A">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                            <field name="OPTION">DD.MM.YY</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="convert_from_date" id="e0?P.*rDG.8xE~*WvQ:O">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                            <field name="OPTION">DD.MM.YY</field>
                            <value name="VALUE">
                              <block type="convert_jsonata" id="3U%@FumG!OO2G$LPOH4D">
                                <value name="EXPRESSION">
                                  <shadow type="text" id="v7Rbv`VAu!BLP,:$$Oj1">
                                    <field name="TEXT">data.viewer.homes[0].currentSubscription.priceInfo.today[0].startsAt</field>
                                  </shadow>
                                </value>
                                <value name="TARGET">
                                  <block type="convert_json2object" id="S5e]Irlt;|i.1BG%..Kp">
                                    <value name="VALUE">
                                      <block type="variables_get" id="rGVHo3d]K]hFQArc`rv4">
                                        <field name="VAR" id="z~p#Xx[:9#-T,A`(Wh[S">EPEX_Preise_heute</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="variables_set" id="l%KX1`Zu}:)SnVg%J#`%">
                        <field name="VAR" id="pu:Rt)G{,7uRfCoGPRo^">FLG_Tagesorientierung</field>
                        <value name="VALUE">
                          <block type="text" id="u(0faQQ?UrCb6(vmQ,VI">
                            <field name="TEXT">today</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="1`*u}[^1/G_q..Y,[x!B">
                            <field name="VAR" id="i5wUx7OaH*Ky|?CJgb?`">EPEX_Preise</field>
                            <value name="VALUE">
                              <block type="variables_get" id="I+-y+=Dd22ol.Dn(ttS}">
                                <field name="VAR" id="z~p#Xx[:9#-T,A`(Wh[S">EPEX_Preise_heute</field>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </statement>
                    <statement name="ELSE">
                      <block type="controls_if" id="6vdlN.]92;,)pO@,xYF]">
                        <mutation else="1"></mutation>
                        <value name="IF0">
                          <block type="logic_compare" id="J@+RoXX_(!FK`}Gvix[v">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="time_get" id="VP)HR/EfI;mXPu31USnq">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                <field name="OPTION">DD.MM.YY</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="convert_from_date" id="kmTyB*B*x%H2+k0I,IJo">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                <field name="OPTION">DD.MM.YY</field>
                                <value name="VALUE">
                                  <block type="convert_jsonata" id="6QC`+2Y+[8$DYvzneh4$">
                                    <value name="EXPRESSION">
                                      <shadow type="text" id="_c)~CY0*/?!;EVaVfwkk">
                                        <field name="TEXT">data.viewer.homes[0].currentSubscription.priceInfo.tomorrow[0].startsAt</field>
                                      </shadow>
                                    </value>
                                    <value name="TARGET">
                                      <block type="convert_json2object" id="T{%NC!CLzCrZJL(h8@^U">
                                        <value name="VALUE">
                                          <block type="variables_get" id="LRl:?m`Ps579J,%q9dOZ">
                                            <field name="VAR" id="[!r~N:(b{9+|#4iK!A9{">EPEX_Preise_morgen</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="variables_set" id="dYP30N7/nY_f4hEycv#O">
                            <field name="VAR" id="pu:Rt)G{,7uRfCoGPRo^">FLG_Tagesorientierung</field>
                            <value name="VALUE">
                              <block type="text" id="4a5r)yKOVgm(gh|/x:i~">
                                <field name="TEXT">tomorrow</field>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="mG,w(y!/f5[c-5lhT,9$">
                                <field name="VAR" id="i5wUx7OaH*Ky|?CJgb?`">EPEX_Preise</field>
                                <value name="VALUE">
                                  <block type="variables_get" id="^Ifp:N0^[7}Sv_dUv;]?">
                                    <field name="VAR" id="[!r~N:(b{9+|#4iK!A9{">EPEX_Preise_morgen</field>
                                  </block>
                                </value>
                              </block>
                            </next>
                          </block>
                        </statement>
                        <statement name="ELSE">
                          <block type="variables_set" id="yT%qJvnA4PCoPJ~{F5yr">
                            <field name="VAR" id=",Pbgu8P~f{nfIV(M0|B`">PushoverText</field>
                            <value name="VALUE">
                              <block type="text" id="!I,z@xrFFt{OGCaxs=I2">
                                <field name="TEXT">!!!   Für den aktuellen Tag liegen keine EPEX Preise vor   !!!</field>
                              </block>
                            </value>
                            <next>
                              <block type="procedures_callnoreturn" id="}Sd[w33?8MT@X+?7keZ7">
                                <mutation name="FKT_Pushover_absetzen"></mutation>
                              </block>
                            </next>
                          </block>
                        </statement>
                      </block>
                    </statement>
                    <next>
                      <block type="comment" id="u8T4^-Uri;w@@2+*jA=^">
                        <field name="COMMENT">Ladezeitraum und EPEX Preise zusammenstellen </field>
                        <next>
                          <block type="variables_set" id="Kjn0vJZ1=g63S*MjBheB">
                            <field name="VAR" id="~:mQAl;qyB4Ec3u8-.Z8">IstStunde</field>
                            <value name="VALUE">
                              <block type="time_get" id="OxETfZ@Oks(Zvvj@(O_u">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                <field name="OPTION">h</field>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="kO/lrF@nFb__-G!jRt1m">
                                <field name="VAR" id="e$]Zz_mzz?a:[9%vrl+q">LadestundenZähler</field>
                                <value name="VALUE">
                                  <block type="math_number" id="-~+dp1)N=G@1Y%^n9(.6">
                                    <field name="NUM">0</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="procedures_callnoreturn" id="]P)K+prcfi46~sJZw)O2">
                                    <mutation name="FKT_Statusinformation_2_absetzen"></mutation>
                                    <next>
                                      <block type="procedures_callnoreturn" id="0I-FPj{a-h`^hD4UPx~l">
                                        <mutation name="FKT_3_Ladezeitraum_ermitteln"></mutation>
                                        <next>
                                          <block type="controls_if" id="+tvE?4)i5=9nf+)cMJ2-">
                                            <value name="IF0">
                                              <block type="logic_negate" id="P?dAW//zrO)n`)8p]rbx">
                                                <value name="BOOL">
                                                  <block type="variables_get" id="b,x0)=)]bF9nZ%YduP0E">
                                                    <field name="VAR" id="dDAU~0/noi`pP5GUkt+c">FLG_neue_EPEX-Preise_abwarten</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <statement name="DO0">
                                              <block type="comment" id="ba=^mLs$}-D+m3VH^Q1]">
                                                <field name="COMMENT">Auf EPEX Stunden prüfen und Ladevorgang steuern</field>
                                                <next>
                                                  <block type="procedures_callnoreturn" id="w?w?;ML5)UVlkM%_a;D`">
                                                    <mutation name="FKT_5_günstigste_Preise_und_Stunden_zusammenstellen"></mutation>
                                                    <next>
                                                      <block type="controls_if" id="$aepT#@tmL~AD/I|s3.7">
                                                        <mutation else="1"></mutation>
                                                        <value name="IF0">
                                                          <block type="logic_negate" id="yx/E#w;:E4!BCHrjT?Vj">
                                                            <value name="BOOL">
                                                              <block type="variables_get" id="fsgx?GZGafJiW-yte!CE">
                                                                <field name="VAR" id="[#A-aH^S8KZNUWvRvVtO">FLG_fehlende_Zeit</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <statement name="DO0">
                                                          <block type="comment" id="cG2~vg~S6KR5^Gb#Y}pN">
                                                            <field name="COMMENT">... nur wenn genügend Zeit planbar</field>
                                                            <next>
                                                              <block type="variables_set" id="Lj07gR3=otm5R4J?mKMH">
                                                                <field name="VAR" id="u{=u^?=z;U#:/Tr%ta7i">zähler</field>
                                                                <value name="VALUE">
                                                                  <block type="math_number" id="D@?fQ#FUcd#eVzm#et:H">
                                                                    <field name="NUM">1</field>
                                                                  </block>
                                                                </value>
                                                                <next>
                                                                  <block type="procedures_callnoreturn" id="AS5~=9t0d9Sh:/0){z_*">
                                                                    <mutation name="FKT_6_auf_günstige_EPEX_Stunde_prüfen_und_WARP_ansteuern"></mutation>
                                                                    <next>
                                                                      <block type="schedule_create" id="fiH/?czEnB`JP^8xPsGh">
                                                                        <field name="NAME">CRON_zur_vollen_Stunde</field>
                                                                        <value name="SCHEDULE">
                                                                          <shadow type="field_cron" id="#`TgNU,TR|@0SrU2L/b8">
                                                                            <field name="CRON">49 * * * *</field>
                                                                          </shadow>
                                                                          <block type="field_cron" id="iJU[/,=G*2ct,H[!`#Nr">
                                                                            <field name="CRON">1 * * * *</field>
                                                                          </block>
                                                                        </value>
                                                                        <statement name="STATEMENT">
                                                                          <block type="variables_set" id="U/y5eTr(eX3grdzhBEdP">
                                                                            <field name="VAR" id="aRhIEQnV}36tIZAUyWK:">BEV_SoC_aktuell</field>
                                                                            <value name="VALUE">
                                                                              <block type="get_value" id="Pp@9@y/=Hpmyl^#nroZh">
                                                                                <field name="ATTR">val</field>
                                                                                <field name="OID">vw-connect.0.TMBLE9NY8PF062092.status.charging.status.battery.stateOfChargeInPercent</field>
                                                                              </block>
                                                                            </value>
                                                                            <next>
                                                                              <block type="controls_if" id="u~PVPvIWOXWQRNp7[!,-">
                                                                                <mutation else="1"></mutation>
                                                                                <value name="IF0">
                                                                                  <block type="logic_compare" id=";{RwhLrKu9:}bU9[.8;F">
                                                                                    <field name="OP">GT</field>
                                                                                    <value name="A">
                                                                                      <block type="variables_get" id="Of!mP_$|B2;zL_FFy0ak">
                                                                                        <field name="VAR" id="u{=u^?=z;U#:/Tr%ta7i">zähler</field>
                                                                                      </block>
                                                                                    </value>
                                                                                    <value name="B">
                                                                                      <block type="variables_get" id="icK)1r]/Q2J`w7P)hw+H">
                                                                                        <field name="VAR" id="yf6cig:nb!%;w?V@!fXh">BEV_Ladedauer_benötigt</field>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </value>
                                                                                <statement name="DO0">
                                                                                  <block type="comment" id="-nE_gDyWi7U]VaNlEaNP">
                                                                                    <field name="COMMENT">Ladeende erreicht</field>
                                                                                    <next>
                                                                                      <block type="procedures_callnoreturn" id="rE5|K3RSB0%i,FmW#9hO">
                                                                                        <mutation name="FKT_8_Ladezeit-Ende_erreicht"></mutation>
                                                                                      </block>
                                                                                    </next>
                                                                                  </block>
                                                                                </statement>
                                                                                <statement name="ELSE">
                                                                                  <block type="comment" id="YF9vrlgG1ZgUGGNvBokh">
                                                                                    <field name="COMMENT">Ladeende NOCH NICHT erreicht</field>
                                                                                    <next>
                                                                                      <block type="procedures_callnoreturn" id="F4J)9Pyeg![7sY,[[]FN">
                                                                                        <mutation name="FKT_6_auf_günstige_EPEX_Stunde_prüfen_und_WARP_ansteuern"></mutation>
                                                                                      </block>
                                                                                    </next>
                                                                                  </block>
                                                                                </statement>
                                                                              </block>
                                                                            </next>
                                                                          </block>
                                                                        </statement>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </statement>
                                                        <statement name="ELSE">
                                                          <block type="comment" id="_8qlVC}$1@qD2wK?;)CT">
                                                            <field name="COMMENT">Zielzeit zu knapp eingestellt - nicht genügend Zeit</field>
                                                            <next>
                                                              <block type="pushover" id="eeMikN(m}!|no2?[m{$4">
                                                                <field name="INSTANCE"></field>
                                                                <field name="SOUND">siren</field>
                                                                <field name="PRIORITY">1</field>
                                                                <field name="LOG">error</field>
                                                                <value name="MESSAGE">
                                                                  <shadow type="text" id="hQv[kuC@v$O($*vVq$v!">
                                                                    <field name="TEXT">!!!!!     EPEX Ladevorgang kann nicht durchgeführt werden. Zielzeit zu knapp eingestellt     !!!!!</field>
                                                                  </shadow>
                                                                </value>
                                                                <value name="SOUND_CUSTOM">
                                                                  <shadow type="text" id=",aepuJ?u)YK=foirGc|j">
                                                                    <field name="TEXT"></field>
                                                                  </shadow>
                                                                </value>
                                                                <next>
                                                                  <block type="procedures_callnoreturn" id="d9mgaS81^XPM}DfkvV2s">
                                                                    <mutation name="FKT_9_alles_stoppen"></mutation>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </statement>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </statement>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" id="T^4/7p#^BgIHWuTVQS@H" x="13" y="4188">
    <field name="NAME">FKT_3_Ladezeitraum_ermitteln</field>
    <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
    <statement name="STACK">
      <block type="debug" id="[MY_M%I6tzx?Jf@{mr1J">
        <field name="Severity">log</field>
        <value name="TEXT">
          <shadow type="text" id="pSld[~}.J6JT625ZqdUK">
            <field name="TEXT">FKT_3_LADEZEITRAUM_ERMITTELN</field>
          </shadow>
        </value>
        <next>
          <block type="controls_if" id="q%./-`~?|N}:0?zUyKGn">
            <value name="IF0">
              <block type="variables_get" id="NQYV8akO.#(wO`L]FI8B">
                <field name="VAR" id="dDAU~0/noi`pP5GUkt+c">FLG_neue_EPEX-Preise_abwarten</field>
              </block>
            </value>
            <statement name="DO0">
              <block type="variables_set" id="w4+yPG(8NFgkN8z{}!Dk">
                <field name="VAR" id="dDAU~0/noi`pP5GUkt+c">FLG_neue_EPEX-Preise_abwarten</field>
                <value name="VALUE">
                  <block type="logic_boolean" id="78/Eh4R8?KQ[Y[vUhvzd">
                    <field name="BOOL">FALSE</field>
                  </block>
                </value>
                <next>
                  <block type="schedule_clear" id="$Je{pyBz6B~|zOAzFLOB">
                    <field name="NAME">CRON_mit_neuen_EPEX-Preise_neu_berechnen</field>
                  </block>
                </next>
              </block>
            </statement>
            <next>
              <block type="controls_if" id="+CTS)y.RM_391~qb_mlI">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="7LN9VHN*;iIs6sMFG]xh">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="variables_get" id="6!f}0[$fA/`p(4$0/G:~">
                        <field name="VAR" id="pu:Rt)G{,7uRfCoGPRo^">FLG_Tagesorientierung</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="text" id="($_XoA,+T}@VW)fjIq4_">
                        <field name="TEXT">today</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="debug" id="aca_K,wl@:vICqU:gBuK">
                    <field name="Severity">log</field>
                    <value name="TEXT">
                      <shadow type="text" id="zi+z}|a8(n.m)M|`e{N^">
                        <field name="TEXT">TODAY</field>
                      </shadow>
                    </value>
                    <next>
                      <block type="comment" id="U}@AWdAItNKh:(+x!77v">
                        <field name="COMMENT">ausgehend von heute</field>
                        <next>
                          <block type="variables_set" id="{+aDIO^D24oc$WafQ.id">
                            <field name="VAR" id="$nWBek=dxUxuc;sAM~D{">von</field>
                            <value name="VALUE">
                              <block type="variables_get" id="d+=HH#HSQBLfcs+^{j@i">
                                <field name="VAR" id="~:mQAl;qyB4Ec3u8-.Z8">IstStunde</field>
                              </block>
                            </value>
                            <next>
                              <block type="controls_if" id="GHPR,,uABkQW4sMYa)M,">
                                <mutation else="1"></mutation>
                                <value name="IF0">
                                  <block type="logic_operation" id="l#A^1[mkg,yg$B~F#BYH">
                                    <field name="OP">AND</field>
                                    <value name="A">
                                      <block type="logic_compare" id="7`#:b9V0pAK3)z6;izsT">
                                        <field name="OP">GT</field>
                                        <value name="A">
                                          <block type="variables_get" id="3qwEP(aO[X.#P~me*(!l">
                                            <field name="VAR" id="|7^rxEv[WG[-)a|86.NZ">EPEX_BEV_Ladezeit_ziel</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="variables_get" id="IKznrt:u#vWu2H.y1NbU">
                                            <field name="VAR" id="~:mQAl;qyB4Ec3u8-.Z8">IstStunde</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_compare" id="#S3[nW;Zsz(u]*`Ip#oc">
                                        <field name="OP">NEQ</field>
                                        <value name="A">
                                          <block type="variables_get" id="I1$nj`~EI_Mx^0W+V%a$">
                                            <field name="VAR" id="|7^rxEv[WG[-)a|86.NZ">EPEX_BEV_Ladezeit_ziel</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_number" id="7c()LNvt=Nd9=3!E_WO|">
                                            <field name="NUM">99</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="debug" id="gskJM@PDdjEcK6F(AX$3">
                                    <field name="Severity">log</field>
                                    <value name="TEXT">
                                      <shadow type="text" id="AFwK3dcPinY9X*U#s7^0">
                                        <field name="TEXT">... bis Zielzeit HEUTE</field>
                                      </shadow>
                                    </value>
                                    <next>
                                      <block type="comment" id="}tw}wp=28w.!t3Tps~y/">
                                        <field name="COMMENT">... bis Zielzeit HEUTE</field>
                                        <next>
                                          <block type="variables_set" id="5qH~_KFV/bK=q9Ivbm%@">
                                            <field name="VAR" id="n%ADrvAiux:BjU1fG6SN">bis</field>
                                            <value name="VALUE">
                                              <block type="variables_get" id="`8wKZL9i?:5XIHFp/q_g">
                                                <field name="VAR" id="|7^rxEv[WG[-)a|86.NZ">EPEX_BEV_Ladezeit_ziel</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="procedures_callnoreturn" id="Q!SO@@^}Gq}}w5Q]}vL,">
                                                <mutation name="FKT_4_Preise_und_Stunden_zusammenbauen"></mutation>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </statement>
                                <statement name="ELSE">
                                  <block type="debug" id="XXjJ+m,qE{INa3J~yUaA">
                                    <field name="Severity">log</field>
                                    <value name="TEXT">
                                      <shadow type="text" id="-)mShqfL-,)~=WtXJ+W7">
                                        <field name="TEXT">... bis Zielzeit 23. Stunde HEUTE</field>
                                      </shadow>
                                    </value>
                                    <next>
                                      <block type="comment" id="-6Q7g-8xp_XSh2._k=Bp">
                                        <field name="COMMENT">... bis Zielzeit 23. Stunde HEUTE</field>
                                        <next>
                                          <block type="variables_set" id="$MD%W.^hAjYfcEd+GLqU">
                                            <field name="VAR" id="n%ADrvAiux:BjU1fG6SN">bis</field>
                                            <value name="VALUE">
                                              <block type="math_number" id="`laqa2S*Cb4TqL|A~L^/">
                                                <field name="NUM">23</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="procedures_callnoreturn" id=":ec=T@~S;:1$w`YM[?`)">
                                                <mutation name="FKT_4_Preise_und_Stunden_zusammenbauen"></mutation>
                                                <next>
                                                  <block type="debug" id=")jTp`]BlKo/Lc%CFBI?)">
                                                    <field name="Severity">log</field>
                                                    <value name="TEXT">
                                                      <shadow type="text" id="GMrbAI=g;OhHtv|V/.$x">
                                                        <field name="TEXT">... bis Zielzeit 23. Stunde MORGEN</field>
                                                      </shadow>
                                                    </value>
                                                    <next>
                                                      <block type="comment" id="[B(7KY1:J@o:{){O9.N#">
                                                        <field name="COMMENT">... bis Zielzeit 23. Stunde MORGEN</field>
                                                        <next>
                                                          <block type="variables_set" id="E}?8-Y.LN[3+,bo_ODv9">
                                                            <field name="VAR" id="pu:Rt)G{,7uRfCoGPRo^">FLG_Tagesorientierung</field>
                                                            <value name="VALUE">
                                                              <block type="text" id="FP0#T?UF?1U6J4.C^O,o">
                                                                <field name="TEXT">tomorrow</field>
                                                              </block>
                                                            </value>
                                                            <next>
                                                              <block type="variables_set" id="-8mnuoWSY3,UaCx%e2=.">
                                                                <field name="VAR" id="i5wUx7OaH*Ky|?CJgb?`">EPEX_Preise</field>
                                                                <value name="VALUE">
                                                                  <block type="variables_get" id="dSWL%EqNZYafrBp1GGoN">
                                                                    <field name="VAR" id="[!r~N:(b{9+|#4iK!A9{">EPEX_Preise_morgen</field>
                                                                  </block>
                                                                </value>
                                                                <next>
                                                                  <block type="variables_set" id="W0Y6Qu/,.TmhuR:Cmf+}">
                                                                    <field name="VAR" id="$nWBek=dxUxuc;sAM~D{">von</field>
                                                                    <value name="VALUE">
                                                                      <block type="math_number" id="R;3NnK,BA~RTeSGFeRSN">
                                                                        <field name="NUM">0</field>
                                                                      </block>
                                                                    </value>
                                                                    <next>
                                                                      <block type="controls_if" id="dHj/A4_G*Ev-%;3aL?QR">
                                                                        <mutation else="1"></mutation>
                                                                        <value name="IF0">
                                                                          <block type="logic_compare" id="Y..8?S04hZu~N@f8*n:v">
                                                                            <field name="OP">NEQ</field>
                                                                            <value name="A">
                                                                              <block type="variables_get" id="_O*|Xn`GG`1Wx-9_WlAD">
                                                                                <field name="VAR" id="|7^rxEv[WG[-)a|86.NZ">EPEX_BEV_Ladezeit_ziel</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="B">
                                                                              <block type="math_number" id="N.TaW)}Yx*|J6EXe;~ul">
                                                                                <field name="NUM">99</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <statement name="DO0">
                                                                          <block type="comment" id="NEOss9q5m[,l!D_dC)/@">
                                                                            <field name="COMMENT">... bis Zielzeit</field>
                                                                            <next>
                                                                              <block type="variables_set" id="[ch$8sW~#e=VgST33OI-">
                                                                                <field name="VAR" id="n%ADrvAiux:BjU1fG6SN">bis</field>
                                                                                <value name="VALUE">
                                                                                  <block type="variables_get" id="3QUmbsKhlG/Ip2He6[Hk">
                                                                                    <field name="VAR" id="|7^rxEv[WG[-)a|86.NZ">EPEX_BEV_Ladezeit_ziel</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </next>
                                                                          </block>
                                                                        </statement>
                                                                        <statement name="ELSE">
                                                                          <block type="comment" id="bOMQdB])7oVTPEQ81`}a">
                                                                            <field name="COMMENT">... bis OHNE Zielzeit, also morgen 23. Stunde</field>
                                                                            <next>
                                                                              <block type="variables_set" id="1r^%01J9~:N%qTRn~WQn">
                                                                                <field name="VAR" id="n%ADrvAiux:BjU1fG6SN">bis</field>
                                                                                <value name="VALUE">
                                                                                  <block type="math_number" id="DOpI{w?UT]*GJ}1W+H*;">
                                                                                    <field name="NUM">23</field>
                                                                                  </block>
                                                                                </value>
                                                                                <next>
                                                                                  <block type="variables_set" id="-kvfO2;*dL6UKQ]G|!,I">
                                                                                    <field name="VAR" id=",Pbgu8P~f{nfIV(M0|B`">PushoverText</field>
                                                                                    <value name="VALUE">
                                                                                      <block type="text" id="[`KIb3+:.4mdJfj5d0}~">
                                                                                        <field name="TEXT">Ladezeit-Ende nicht gesetzt. Ladevorgang wird bis   MORGEN   23:59 kalkuliert</field>
                                                                                      </block>
                                                                                    </value>
                                                                                    <next>
                                                                                      <block type="procedures_callnoreturn" id="lF1t=EM:7^C~i^r?5r(P">
                                                                                        <mutation name="FKT_Pushover_absetzen"></mutation>
                                                                                      </block>
                                                                                    </next>
                                                                                  </block>
                                                                                </next>
                                                                              </block>
                                                                            </next>
                                                                          </block>
                                                                        </statement>
                                                                        <next>
                                                                          <block type="procedures_callnoreturn" id="rNjOL,Z/nM8_QGVLO76h">
                                                                            <mutation name="FKT_4_Preise_und_Stunden_zusammenbauen"></mutation>
                                                                          </block>
                                                                        </next>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </statement>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="debug" id="(v8s##3XILgs2ZjOZT9u">
                    <field name="Severity">log</field>
                    <value name="TEXT">
                      <shadow type="text" id="[=he00VGj**GR*6%%a(c">
                        <field name="TEXT">TOMORROW</field>
                      </shadow>
                    </value>
                    <next>
                      <block type="comment" id="`H2$CGhn%}NMuJ`mpvz2">
                        <field name="COMMENT">ausgehend von morgen</field>
                        <next>
                          <block type="controls_if" id="Eo#4a1w(+Ej3q/alA!+q">
                            <mutation else="1"></mutation>
                            <value name="IF0">
                              <block type="logic_operation" id=")(gx75Qj5QNK9TFE*Zp^">
                                <field name="OP">AND</field>
                                <value name="A">
                                  <block type="logic_compare" id="`CI%*V^g)720[TUdp%-X">
                                    <field name="OP">GT</field>
                                    <value name="A">
                                      <block type="variables_get" id="y|?:*Qo/gB(iK1kl=NmV">
                                        <field name="VAR" id="|7^rxEv[WG[-)a|86.NZ">EPEX_BEV_Ladezeit_ziel</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="variables_get" id="j4nH*0l00e2Uzth0dv]C">
                                        <field name="VAR" id="~:mQAl;qyB4Ec3u8-.Z8">IstStunde</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_compare" id="/IeJrZQ|~=h*sFhWB:C6">
                                    <field name="OP">NEQ</field>
                                    <value name="A">
                                      <block type="variables_get" id="+8#Ki;W3U0P9Ik0yqI~a">
                                        <field name="VAR" id="|7^rxEv[WG[-)a|86.NZ">EPEX_BEV_Ladezeit_ziel</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="math_number" id="D~sL%z1wdv-qIqP*V:$O">
                                        <field name="NUM">99</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="comment" id="cl$.P4C-pzVNn7F*r)Eq">
                                <field name="COMMENT">... bis Zielzeit</field>
                                <next>
                                  <block type="variables_set" id="[J`D^y%_(HeWn]:_YQa_">
                                    <field name="VAR" id="$nWBek=dxUxuc;sAM~D{">von</field>
                                    <value name="VALUE">
                                      <block type="variables_get" id="P?h*rNve?m7SMBhQ%2rJ">
                                        <field name="VAR" id="~:mQAl;qyB4Ec3u8-.Z8">IstStunde</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="variables_set" id="uz)80R-y*:bSBjyBOMa7">
                                        <field name="VAR" id="n%ADrvAiux:BjU1fG6SN">bis</field>
                                        <value name="VALUE">
                                          <block type="variables_get" id="eW|1eg9iK8jb;Ew;OV5E">
                                            <field name="VAR" id="|7^rxEv[WG[-)a|86.NZ">EPEX_BEV_Ladezeit_ziel</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="procedures_callnoreturn" id="H`+^O):=1sKY[f6z-`{o">
                                            <mutation name="FKT_4_Preise_und_Stunden_zusammenbauen"></mutation>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </statement>
                            <statement name="ELSE">
                              <block type="comment" id="v@dH.@K;Vl8v$~nrAjr/">
                                <field name="COMMENT">... max. bis 23. Stunde oder neue Preise abwarten</field>
                                <next>
                                  <block type="controls_if" id="V#pZ,$J;;OVIuoGdIAlU">
                                    <mutation else="1"></mutation>
                                    <value name="IF0">
                                      <block type="logic_compare" id="MSj,H[}B`COe2f98oJb{">
                                        <field name="OP">EQ</field>
                                        <value name="A">
                                          <block type="variables_get" id="rtO.HQ,-HizAKxL3LhvJ">
                                            <field name="VAR" id=";Cy~uecA2Nc?BV$qmBp4">FLG_KalkulationsartÜbermorgen</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="text" id="1Tn#$/3!-j#ct.u/(Gf0">
                                            <field name="TEXT">sofort</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="comment" id="1`|vn}PZvPIy;aqY-RTg">
                                        <field name="COMMENT">... bis Zielzeit 23. Stunde</field>
                                        <next>
                                          <block type="variables_set" id="^.V(i@Z2VX-N~ffR#M:7">
                                            <field name="VAR" id="$nWBek=dxUxuc;sAM~D{">von</field>
                                            <value name="VALUE">
                                              <block type="variables_get" id="}bCE+;S~%cET5e7y7h{j">
                                                <field name="VAR" id="~:mQAl;qyB4Ec3u8-.Z8">IstStunde</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="variables_set" id="=8bDLWPj_gH2P?`r#dNt">
                                                <field name="VAR" id="n%ADrvAiux:BjU1fG6SN">bis</field>
                                                <value name="VALUE">
                                                  <block type="math_number" id="w$tFm^K8v2U@5+qrBBwH">
                                                    <field name="NUM">23</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="procedures_callnoreturn" id="*({jWpZ:bQ8)PmNvOxA_">
                                                    <mutation name="FKT_4_Preise_und_Stunden_zusammenbauen"></mutation>
                                                    <next>
                                                      <block type="variables_set" id="C,7N,xO/|rt8/)3A2Uz(">
                                                        <field name="VAR" id=",Pbgu8P~f{nfIV(M0|B`">PushoverText</field>
                                                        <value name="VALUE">
                                                          <block type="text" id="ye}RB;DEp|_.}Wgf}kox">
                                                            <field name="TEXT">Noch keine neuen EPEX-Preise für den nächsten Tag vorhanden. Ladevorgang wird bis   HEUTE   23:59 kalkuliert </field>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="procedures_callnoreturn" id="e53F8j20wauB/2FN|=:l">
                                                            <mutation name="FKT_Pushover_absetzen"></mutation>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                    <statement name="ELSE">
                                      <block type="comment" id="W_%_VS;%SG3AcxG0`)t;">
                                        <field name="COMMENT">Abwarten und mit neuen EPEX-Preisen kalkulieren</field>
                                        <next>
                                          <block type="variables_set" id="49g:oiqhV+=#7SNCs6{X">
                                            <field name="VAR" id="dDAU~0/noi`pP5GUkt+c">FLG_neue_EPEX-Preise_abwarten</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="#KRA?GM::fa|LJ:kMaYR">
                                                <field name="BOOL">TRUE</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="variables_set" id="X![5i2:V)D*y!ut7ic%M">
                                                <field name="VAR" id=",Pbgu8P~f{nfIV(M0|B`">PushoverText</field>
                                                <value name="VALUE">
                                                  <block type="text" id="lv[=zYThTw]9j-).5;_m">
                                                    <field name="TEXT">Timer wurde auf 16:35 Uhr gestellt   |   Neuberechnung erfolgt mit neuen EPEX Preisen</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="procedures_callnoreturn" id="!U@;ah#rkSv7Wfwn_kRa">
                                                    <mutation name="FKT_Pushover_absetzen"></mutation>
                                                    <next>
                                                      <block type="schedule_create" id="8-wM~*zwBgFAh@r5hS|_">
                                                        <field name="NAME">CRON_mit_neuen_EPEX-Preise_neu_berechnen</field>
                                                        <value name="SCHEDULE">
                                                          <shadow type="field_cron" id="7-.Vv:MfQ!MU(ktr{MW$">
                                                            <field name="CRON">* * * * *</field>
                                                          </shadow>
                                                          <block type="field_cron" id="QDU1#VUX-XIXR2cjZ7Bo">
                                                            <field name="CRON">35 16 * * *</field>
                                                          </block>
                                                        </value>
                                                        <statement name="STATEMENT">
                                                          <block type="comment" id="1f#e)lRRp@EQ-l)[%Fi6">
                                                            <field name="COMMENT">2 dimensionale Liste erneut leeren</field>
                                                            <next>
                                                              <block type="variables_set" id="L*9Can}sX#4Q)^xJE}v@">
                                                                <field name="VAR" id="}*+,Qt.$dflnL[W+E#Rl">EPEX-Preisliste</field>
                                                                <value name="VALUE">
                                                                  <block type="lists_repeat" id="rgh5KOJzu_bWC;a|R8%6">
                                                                    <value name="NUM">
                                                                      <shadow type="math_number" id="SC1AShkE+TO0;P#hQA^L">
                                                                        <field name="NUM">48</field>
                                                                      </shadow>
                                                                    </value>
                                                                    <value name="ITEM">
                                                                      <block type="lists_repeat" id="lbn|HA#F%LT%jEQz1(U!">
                                                                        <value name="NUM">
                                                                          <shadow type="math_number" id="pI_sH@{OBMm@?AYj[15~">
                                                                            <field name="NUM">4</field>
                                                                          </shadow>
                                                                        </value>
                                                                        <value name="ITEM">
                                                                          <block type="math_number" id="5}nayHmnf!pd`S;3~Ye(">
                                                                            <field name="NUM">0</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <next>
                                                                  <block type="procedures_callnoreturn" id="9{|Xv.7s5Os~T~zcUI|g">
                                                                    <mutation name="FKT_2_Hauptroutine"></mutation>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </statement>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                  </block>
                                </next>
                              </block>
                            </statement>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" id="jE{VfG0E.G@ec%)}~z`{" x="13" y="6138">
    <field name="NAME">FKT_4_Preise_und_Stunden_zusammenbauen</field>
    <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
    <statement name="STACK">
      <block type="debug" id="!8}[tW:1X8RnHJs8[T=h">
        <field name="Severity">log</field>
        <value name="TEXT">
          <shadow type="text" id="qy/nBj2ju_~LGF9u+CM0">
            <field name="TEXT">FKT_4_PREISE_UND_STUNDEN_ZUSAMMMENBAUEN</field>
          </shadow>
        </value>
        <next>
          <block type="controls_for" id="_AJ}DvQSy+b,Xr-N_e]E">
            <field name="VAR" id="u{=u^?=z;U#:/Tr%ta7i">zähler</field>
            <value name="FROM">
              <shadow type="math_number" id="{:-x4vA/REN4773NTz;u">
                <field name="NUM">0</field>
              </shadow>
              <block type="variables_get" id="H-3LR.XQnc2chC1e2vmG">
                <field name="VAR" id="$nWBek=dxUxuc;sAM~D{">von</field>
              </block>
            </value>
            <value name="TO">
              <shadow type="math_number" id="_2doJ8iU[0(}y,zrl3}O">
                <field name="NUM">23</field>
              </shadow>
              <block type="variables_get" id="vHQfImo=kMD,z|hHHqjT">
                <field name="VAR" id="n%ADrvAiux:BjU1fG6SN">bis</field>
              </block>
            </value>
            <value name="BY">
              <shadow type="math_number" id="_t2J,z?~cwSi]LN`z}.l">
                <field name="NUM">1</field>
              </shadow>
            </value>
            <statement name="DO">
              <block type="math_change" id="gqowR+bO`.fv)2EOWeTZ">
                <field name="VAR" id="e$]Zz_mzz?a:[9%vrl+q">LadestundenZähler</field>
                <value name="DELTA">
                  <shadow type="math_number" id="K7U2+2HeT--v$4zQ)hd]">
                    <field name="NUM">1</field>
                  </shadow>
                </value>
                <next>
                  <block type="lists_getIndex" id="t]31o]8vx!fp@Q-pNpFe">
                    <mutation statement="true" at="false"></mutation>
                    <field name="MODE">REMOVE</field>
                    <field name="WHERE">LAST</field>
                    <value name="VALUE">
                      <block type="variables_get" id="%E0+~V1-,?39!oup]yi(">
                        <field name="VAR" id="}*+,Qt.$dflnL[W+E#Rl">EPEX-Preisliste</field>
                      </block>
                    </value>
                    <next>
                      <block type="lists_setIndex" id="%0^jrE2C}[=WMc~gSkfc">
                        <mutation at="false"></mutation>
                        <field name="MODE">INSERT</field>
                        <field name="WHERE">FIRST</field>
                        <value name="LIST">
                          <block type="variables_get" id="eiU@X|uYP0FLCz.HO@|~">
                            <field name="VAR" id="}*+,Qt.$dflnL[W+E#Rl">EPEX-Preisliste</field>
                          </block>
                        </value>
                        <value name="TO">
                          <block type="lists_create_with" id="Q5V5TvLh,H4D1uf7c4OM">
                            <mutation items="4"></mutation>
                            <value name="ADD0">
                              <block type="convert_tonumber" id="_mhCd/Bu9;_`:uhA:ljj">
                                <value name="VALUE">
                                  <block type="convert_jsonata" id="p=8xqV=/8gk!{)d`Q.PJ">
                                    <value name="EXPRESSION">
                                      <shadow type="text" id="Zl!)@[$#Cm7vVwfRlLyT">
                                        <field name="TEXT"></field>
                                      </shadow>
                                      <block type="text_join" id=":sXLjkQzLF_URn=pU;V^">
                                        <mutation items="5"></mutation>
                                        <value name="ADD0">
                                          <block type="text" id="VEn6Tpb|I[Oa~u80lEd:">
                                            <field name="TEXT">data.viewer.homes[0].currentSubscription.priceInfo.</field>
                                          </block>
                                        </value>
                                        <value name="ADD1">
                                          <block type="variables_get" id="$d^XEJ6xSlXFQ1E*IG*l">
                                            <field name="VAR" id="pu:Rt)G{,7uRfCoGPRo^">FLG_Tagesorientierung</field>
                                          </block>
                                        </value>
                                        <value name="ADD2">
                                          <block type="text" id="VkRf6P5Iy64mDs%MQ_%h">
                                            <field name="TEXT">[</field>
                                          </block>
                                        </value>
                                        <value name="ADD3">
                                          <block type="convert_tostring" id="C(yX-tpCJ@5Y@nc1vxJD">
                                            <value name="VALUE">
                                              <block type="variables_get" id="-m{a|w%Hi!:2,bkDK51;">
                                                <field name="VAR" id="u{=u^?=z;U#:/Tr%ta7i">zähler</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <value name="ADD4">
                                          <block type="text" id="`~jT9_Ae.1S4w.D!f!Hm">
                                            <field name="TEXT">].total</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="TARGET">
                                      <block type="convert_json2object" id="c4_U#UQ5)g^Zj.]BVKm;">
                                        <value name="VALUE">
                                          <block type="variables_get" id="1!LrcCo4B#tMPHJdEJB7">
                                            <field name="VAR" id="i5wUx7OaH*Ky|?CJgb?`">EPEX_Preise</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <value name="ADD1">
                              <block type="convert_from_date" id="c+5{#E/QK8a/6AzW9*3{">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                <field name="OPTION">DD.MM.YY</field>
                                <value name="VALUE">
                                  <block type="convert_jsonata" id="V#O7iL@-@#%zh9b{WVu(">
                                    <value name="EXPRESSION">
                                      <shadow type="text" id="sc*~)D~8?4}Oh-nt$]}J">
                                        <field name="TEXT"></field>
                                      </shadow>
                                      <block type="text_join" id="){(B0.=B#B?:$}~J=C]F">
                                        <mutation items="5"></mutation>
                                        <value name="ADD0">
                                          <block type="text" id="VrsR@a+bpd4Ao73b==Og">
                                            <field name="TEXT">data.viewer.homes[0].currentSubscription.priceInfo.</field>
                                          </block>
                                        </value>
                                        <value name="ADD1">
                                          <block type="variables_get" id="]@xi9Cg8;02,c4T;1g_+">
                                            <field name="VAR" id="pu:Rt)G{,7uRfCoGPRo^">FLG_Tagesorientierung</field>
                                          </block>
                                        </value>
                                        <value name="ADD2">
                                          <block type="text" id="^%zF]a[|u/w,drIy/1H1">
                                            <field name="TEXT">[</field>
                                          </block>
                                        </value>
                                        <value name="ADD3">
                                          <block type="convert_tostring" id="0?21uHGj;*ZwQ%xADuDo">
                                            <value name="VALUE">
                                              <block type="variables_get" id="YEQ*f_[j/jgqB%/-UgIQ">
                                                <field name="VAR" id="u{=u^?=z;U#:/Tr%ta7i">zähler</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <value name="ADD4">
                                          <block type="text" id="FDx5c2URTjljF=oe@NY6">
                                            <field name="TEXT">].startsAt</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="TARGET">
                                      <block type="convert_json2object" id="RbbP~LKuU@}OP#J3@v.^">
                                        <value name="VALUE">
                                          <block type="variables_get" id="ka2}|`b7v{An`q7@tCJU">
                                            <field name="VAR" id="i5wUx7OaH*Ky|?CJgb?`">EPEX_Preise</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <value name="ADD2">
                              <block type="variables_get" id="?vwGr|#l.08@n2HPX}D6">
                                <field name="VAR" id="u{=u^?=z;U#:/Tr%ta7i">zähler</field>
                              </block>
                            </value>
                            <value name="ADD3">
                              <block type="variables_get" id="I%Q=L7Xss)}s+c9HeQ*W">
                                <field name="VAR" id="e$]Zz_mzz?a:[9%vrl+q">LadestundenZähler</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </statement>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" id="tLeBRA*W^NhU7R!;7]jX" x="13" y="6738">
    <field name="NAME">FKT_5_günstigste_Preise_und_Stunden_zusammenstellen</field>
    <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
    <statement name="STACK">
      <block type="debug" id="ohmOWV{q_^s%1f@EB]jY">
        <field name="Severity">log</field>
        <value name="TEXT">
          <shadow type="text" id="?rD!=e94dAR37/u9DAO]">
            <field name="TEXT">FKT_5_GÜNSTIGE_PREISE_UND_STUNDEN_ZUSAMMENSTELLEN</field>
          </shadow>
        </value>
        <next>
          <block type="variables_set" id="DS7MV9d(5mMR6Y/Y)?Ar">
            <field name="VAR" id="}*+,Qt.$dflnL[W+E#Rl">EPEX-Preisliste</field>
            <value name="VALUE">
              <block type="lists_getSublist" id=",{]Y?,PdTllZbeTRqw$=">
                <mutation at1="false" at2="true"></mutation>
                <field name="WHERE1">FIRST</field>
                <field name="WHERE2">FROM_START</field>
                <value name="LIST">
                  <block type="variables_get" id="S_T7w;rQ]ft?(9o^KSf`">
                    <field name="VAR" id="}*+,Qt.$dflnL[W+E#Rl">EPEX-Preisliste</field>
                  </block>
                </value>
                <value name="AT2">
                  <block type="variables_get" id="MI0?#OB*i^#TzF5MHo?@">
                    <field name="VAR" id="e$]Zz_mzz?a:[9%vrl+q">LadestundenZähler</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="controls_if" id="TX1$=Eu]j=e$xHoeiB^[">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="=d=;xE3!Jk9*.I)mW~SJ">
                    <field name="OP">LTE</field>
                    <value name="A">
                      <block type="lists_length" id="_3~qGEa`zyfM0c,gv|x/">
                        <value name="VALUE">
                          <block type="variables_get" id="j1P4mg0G`1R%ehnQsgZ{">
                            <field name="VAR" id="}*+,Qt.$dflnL[W+E#Rl">EPEX-Preisliste</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <block type="variables_get" id="L_.v0C=yUR+)g?D#?GUQ">
                        <field name="VAR" id="yf6cig:nb!%;w?V@!fXh">BEV_Ladedauer_benötigt</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="comment" id="*W#68Y~e}%b`1GzDza7B">
                    <field name="COMMENT">Zielzeit zu knapp eingestellt - nicht genügend Zeit</field>
                    <next>
                      <block type="variables_set" id="/bFRllXi+W|jAZR;{^_:">
                        <field name="VAR" id="[#A-aH^S8KZNUWvRvVtO">FLG_fehlende_Zeit</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="+{0:soyF0CDd^fy}3}=e">
                            <field name="BOOL">TRUE</field>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="variables_set" id="EWxF?2=Y*?9dHl4zU~vG">
                    <field name="VAR" id="}*+,Qt.$dflnL[W+E#Rl">EPEX-Preisliste</field>
                    <value name="VALUE">
                      <block type="lists_sort" id="Y)))a@$gPlV)(o_o{L!u">
                        <field name="TYPE">IGNORE_CASE</field>
                        <field name="DIRECTION">1</field>
                        <value name="LIST">
                          <block type="variables_get" id="Qzgg$r#f7i^KX:Yld{4X">
                            <field name="VAR" id="}*+,Qt.$dflnL[W+E#Rl">EPEX-Preisliste</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="TAcAg.-M9u$J3Wfs03r5">
                        <field name="VAR" id="}*+,Qt.$dflnL[W+E#Rl">EPEX-Preisliste</field>
                        <value name="VALUE">
                          <block type="lists_getSublist" id="M[lpdpsA;zq}/$m7LAu$">
                            <mutation at1="false" at2="true"></mutation>
                            <field name="WHERE1">FIRST</field>
                            <field name="WHERE2">FROM_START</field>
                            <value name="LIST">
                              <block type="variables_get" id="csyvIBy2*|S^FN.Zk3up">
                                <field name="VAR" id="}*+,Qt.$dflnL[W+E#Rl">EPEX-Preisliste</field>
                              </block>
                            </value>
                            <value name="AT2">
                              <block type="variables_get" id="I@!rc%t6}-n*%5)apM3Z">
                                <field name="VAR" id="yf6cig:nb!%;w?V@!fXh">BEV_Ladedauer_benötigt</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="timeouts_wait" id="X;Gh$O|Cuj8R2`lb{5TZ">
                            <field name="DELAY">1000</field>
                            <field name="UNIT">ms</field>
                            <next>
                              <block type="variables_set" id="p~ZVk5?1!Ig:wTarN|pI">
                                <field name="VAR" id="}*+,Qt.$dflnL[W+E#Rl">EPEX-Preisliste</field>
                                <value name="VALUE">
                                  <block type="procedures_callcustomreturn" id="7My|G}iUh7N@vjpP%!b8">
                                    <mutation name="EPEX-Preisliste_sortieren">
                                      <arg name="Liste"></arg>
                                      <arg name="Wert"></arg>
                                    </mutation>
                                    <value name="ARG0">
                                      <block type="variables_get" id="+grEXddJC_;/pY8]CtUp">
                                        <field name="VAR" id="}*+,Qt.$dflnL[W+E#Rl">EPEX-Preisliste</field>
                                      </block>
                                    </value>
                                    <value name="ARG1">
                                      <block type="math_number" id="0BWo?PxQE`;c*43Qa37K">
                                        <field name="NUM">4</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <next>
                                  <block type="debug" id="X5bYg$%:h(ndDvRs/o5;">
                                    <field name="Severity">log</field>
                                    <value name="TEXT">
                                      <shadow type="text" id=":2~/ec4i8VUFCjx5$Z!$">
                                        <field name="TEXT">test</field>
                                      </shadow>
                                      <block type="variables_get" id="3dLf/^ICgF-#zE*Q))[T">
                                        <field name="VAR" id="}*+,Qt.$dflnL[W+E#Rl">EPEX-Preisliste</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="variables_set" id="Bf(-~33x-byaag]fTKmL">
                                        <field name="VAR" id="u{=u^?=z;U#:/Tr%ta7i">zähler</field>
                                        <value name="VALUE">
                                          <block type="math_number" id=",blLLp*4j:h5PCor+RE_">
                                            <field name="NUM">1</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="variables_set" id="v/)Lqpoy|=D3vrgK/MU7">
                                            <field name="VAR" id=",AW^jTM3PY~#|4H~,mKb">EPEX_BEV_kalkulierte_Kosten</field>
                                            <value name="VALUE">
                                              <block type="math_number" id="%{p@7*B%wKUlhM4jzh=;">
                                                <field name="NUM">0</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="controls_repeat_ext" id="G~ktK?eJdctvE+yG~`[g">
                                                <value name="TIMES">
                                                  <shadow type="math_number" id="%+2ppKk8nUDQCADT{lFl">
                                                    <field name="NUM">10</field>
                                                  </shadow>
                                                  <block type="variables_get" id=")y:RK.E-xU^hO5Kh-MT$">
                                                    <field name="VAR" id="yf6cig:nb!%;w?V@!fXh">BEV_Ladedauer_benötigt</field>
                                                  </block>
                                                </value>
                                                <statement name="DO">
                                                  <block type="variables_set" id="S;%h=73y^C|xnxl0Ty-T">
                                                    <field name="VAR" id=",AW^jTM3PY~#|4H~,mKb">EPEX_BEV_kalkulierte_Kosten</field>
                                                    <value name="VALUE">
                                                      <block type="math_arithmetic" id="vy`:h]]nj8PmU`D:4{Nv">
                                                        <field name="OP">ADD</field>
                                                        <value name="A">
                                                          <shadow type="math_number" id=",q~)pyA.Ubgr!I.f*?4g">
                                                            <field name="NUM">1</field>
                                                          </shadow>
                                                          <block type="variables_get" id="LR_wAK1*wn31E.YKa`h4">
                                                            <field name="VAR" id=",AW^jTM3PY~#|4H~,mKb">EPEX_BEV_kalkulierte_Kosten</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <shadow type="math_number" id="SnC:Y%dsiRNMsQkC9ghQ">
                                                            <field name="NUM">1</field>
                                                          </shadow>
                                                          <block type="math_arithmetic" id="xZ^vo3td+md.36Fu9=Vd">
                                                            <field name="OP">MULTIPLY</field>
                                                            <value name="A">
                                                              <shadow type="math_number" id="]9LY/G75kYiI%YYxtJ:(">
                                                                <field name="NUM">11</field>
                                                              </shadow>
                                                            </value>
                                                            <value name="B">
                                                              <shadow type="math_number" id="6P7W0w:.E_^8.nRDUq-A">
                                                                <field name="NUM">1</field>
                                                              </shadow>
                                                              <block type="lists_getIndex" id="/aYJ/8o/NG@,6@Nxu({3">
                                                                <mutation statement="false" at="true"></mutation>
                                                                <field name="MODE">GET</field>
                                                                <field name="WHERE">FROM_START</field>
                                                                <value name="VALUE">
                                                                  <block type="lists_getIndex" id="`tnGAG[AUmBC,|o:nYo9">
                                                                    <mutation statement="false" at="true"></mutation>
                                                                    <field name="MODE">GET</field>
                                                                    <field name="WHERE">FROM_START</field>
                                                                    <value name="VALUE">
                                                                      <block type="variables_get" id="hAhx64UDr~f};x,Nz%$i">
                                                                        <field name="VAR" id="}*+,Qt.$dflnL[W+E#Rl">EPEX-Preisliste</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="AT">
                                                                      <block type="variables_get" id="CfyeJ?|S0beI8=M!F5(+">
                                                                        <field name="VAR" id="u{=u^?=z;U#:/Tr%ta7i">zähler</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <value name="AT">
                                                                  <block type="math_number" id=".Ha{9{p!}WgFRJ5/(3Ug">
                                                                    <field name="NUM">1</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="math_change" id="5sWeyfW-,q?K#i)=Vel(">
                                                        <field name="VAR" id="u{=u^?=z;U#:/Tr%ta7i">zähler</field>
                                                        <value name="DELTA">
                                                          <shadow type="math_number" id="T|d`3r7x[ham{i:_^S+:">
                                                            <field name="NUM">1</field>
                                                          </shadow>
                                                        </value>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </statement>
                                                <next>
                                                  <block type="comment" id="wbMX(yJ:PAg4:e=:v=5F">
                                                    <field name="COMMENT">Ladekosten kalkulieren</field>
                                                    <next>
                                                      <block type="variables_set" id="YYB[$QEd}JP$;*xzU[WN">
                                                        <field name="VAR" id=",Pbgu8P~f{nfIV(M0|B`">PushoverText</field>
                                                        <value name="VALUE">
                                                          <block type="text_join" id="O#nqFTyN63xDP3*}Tv%*">
                                                            <mutation items="21"></mutation>
                                                            <value name="ADD0">
                                                              <block type="text" id="14C.WDLCB%()/:u02wbD">
                                                                <field name="TEXT">EPEX Ladevorgang ist (neu) kalkuliert.</field>
                                                              </block>
                                                            </value>
                                                            <value name="ADD1">
                                                              <block type="text_newline" id="X]~qbz.0r:x.[(0{)uDF">
                                                                <field name="Type">\r\n</field>
                                                              </block>
                                                            </value>
                                                            <value name="ADD2">
                                                              <block type="text" id="+/@YDtY|,zfDPkz?0(w:">
                                                                <field name="TEXT">Die Ladung von </field>
                                                              </block>
                                                            </value>
                                                            <value name="ADD3">
                                                              <block type="variables_get" id="WyHw-*,j)|Q])s,N-qes">
                                                                <field name="VAR" id="aRhIEQnV}36tIZAUyWK:">BEV_SoC_aktuell</field>
                                                              </block>
                                                            </value>
                                                            <value name="ADD4">
                                                              <block type="text" id="ho=!#imUyk}X0^^)){R4">
                                                                <field name="TEXT">% auf </field>
                                                              </block>
                                                            </value>
                                                            <value name="ADD5">
                                                              <block type="variables_get" id="Vl?Rw:%qSz)Um`KWpVp!">
                                                                <field name="VAR" id="nu,y#!iWue%SF`{|Il0*">EPEX_BEV_SoC_ziel</field>
                                                              </block>
                                                            </value>
                                                            <value name="ADD6">
                                                              <block type="text" id="MdPBaz0LT[tDV[LxN.tD">
                                                                <field name="TEXT">%, also von </field>
                                                              </block>
                                                            </value>
                                                            <value name="ADD7">
                                                              <block type="variables_get" id="5Q_.3Ri%.(2Xir*k0C-?">
                                                                <field name="VAR" id="._$(d*EJ[MyQbNq!s:za">BEV_Ladeenergie_benötigt</field>
                                                              </block>
                                                            </value>
                                                            <value name="ADD8">
                                                              <block type="text" id="jHU9o(G,N74T4ILt~6u+">
                                                                <field name="TEXT"> kWh, wird bis zu </field>
                                                              </block>
                                                            </value>
                                                            <value name="ADD9">
                                                              <block type="variables_get" id="12NzdWQ)c[-K%e1%5D{^">
                                                                <field name="VAR" id="yf6cig:nb!%;w?V@!fXh">BEV_Ladedauer_benötigt</field>
                                                              </block>
                                                            </value>
                                                            <value name="ADD10">
                                                              <block type="text" id="2v%=NSdM}?mwXy@}U-LN">
                                                                <field name="TEXT"> h dauern, ungefähr € </field>
                                                              </block>
                                                            </value>
                                                            <value name="ADD11">
                                                              <block type="math_rndfixed" id="gxKG;z$3:thqxpOWO!k7">
                                                                <field name="n">2</field>
                                                                <value name="x">
                                                                  <shadow type="math_number" id="G(TU.m~4{Vw#pQz}O!3f">
                                                                    <field name="NUM">3.1234</field>
                                                                  </shadow>
                                                                  <block type="variables_get" id="[fRDo}YTYv,+t0K7Z_8M">
                                                                    <field name="VAR" id=",AW^jTM3PY~#|4H~,mKb">EPEX_BEV_kalkulierte_Kosten</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <value name="ADD12">
                                                              <block type="text" id="~?q(x#,-S%T8Pg*O{eDA">
                                                                <field name="TEXT"> kosten, am </field>
                                                              </block>
                                                            </value>
                                                            <value name="ADD13">
                                                              <block type="lists_getIndex" id="8Z)SLX.J#gHx(D}4YPB!">
                                                                <mutation statement="false" at="true"></mutation>
                                                                <field name="MODE">GET</field>
                                                                <field name="WHERE">FROM_START</field>
                                                                <value name="VALUE">
                                                                  <block type="lists_getIndex" id="0Lc!c[nt*4{YUV:S+p$m">
                                                                    <mutation statement="false" at="false"></mutation>
                                                                    <field name="MODE">GET</field>
                                                                    <field name="WHERE">FIRST</field>
                                                                    <value name="VALUE">
                                                                      <block type="variables_get" id="aZn_duv8LxJ6;Ade11{#">
                                                                        <field name="VAR" id="}*+,Qt.$dflnL[W+E#Rl">EPEX-Preisliste</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <value name="AT">
                                                                  <block type="math_number" id="vsP,0]nm%^Rf9hMm30bV">
                                                                    <field name="NUM">2</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <value name="ADD14">
                                                              <block type="text" id="a0;*wA6R5YSZ5o2%i?1h">
                                                                <field name="TEXT"> um </field>
                                                              </block>
                                                            </value>
                                                            <value name="ADD15">
                                                              <block type="lists_getIndex" id="+b*btqaD_do|h`!=8zQL">
                                                                <mutation statement="false" at="true"></mutation>
                                                                <field name="MODE">GET</field>
                                                                <field name="WHERE">FROM_START</field>
                                                                <value name="VALUE">
                                                                  <block type="lists_getIndex" id="b+iYa{c#f5{JPs.B*b%f">
                                                                    <mutation statement="false" at="false"></mutation>
                                                                    <field name="MODE">GET</field>
                                                                    <field name="WHERE">FIRST</field>
                                                                    <value name="VALUE">
                                                                      <block type="variables_get" id="th24w7#s)kV2HgbAQ^lL">
                                                                        <field name="VAR" id="}*+,Qt.$dflnL[W+E#Rl">EPEX-Preisliste</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <value name="AT">
                                                                  <block type="math_number" id="=l,ig6SSR[TPTw1?mjN5">
                                                                    <field name="NUM">3</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <value name="ADD16">
                                                              <block type="text" id="Lqbqi3svA,aTDC0bQW%7">
                                                                <field name="TEXT">:00 Uhr beginnen und spätestens am </field>
                                                              </block>
                                                            </value>
                                                            <value name="ADD17">
                                                              <block type="lists_getIndex" id="q)is1UtMBXw|C(7LWAq2">
                                                                <mutation statement="false" at="true"></mutation>
                                                                <field name="MODE">GET</field>
                                                                <field name="WHERE">FROM_START</field>
                                                                <value name="VALUE">
                                                                  <block type="lists_getIndex" id="SN+@o$xPn+v*CO!7DNaz">
                                                                    <mutation statement="false" at="false"></mutation>
                                                                    <field name="MODE">GET</field>
                                                                    <field name="WHERE">LAST</field>
                                                                    <value name="VALUE">
                                                                      <block type="variables_get" id="po89.t6jI5~5e/S|{Tsf">
                                                                        <field name="VAR" id="}*+,Qt.$dflnL[W+E#Rl">EPEX-Preisliste</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <value name="AT">
                                                                  <block type="math_number" id="`PB0Hv]W_XmMC9(2{Lo~">
                                                                    <field name="NUM">2</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <value name="ADD18">
                                                              <block type="text" id="^^/8{G`=McGU]xxYFv3L">
                                                                <field name="TEXT"> um </field>
                                                              </block>
                                                            </value>
                                                            <value name="ADD19">
                                                              <block type="lists_getIndex" id="x!Z#WGshniSHR!C=6I0c">
                                                                <mutation statement="false" at="true"></mutation>
                                                                <field name="MODE">GET</field>
                                                                <field name="WHERE">FROM_START</field>
                                                                <value name="VALUE">
                                                                  <block type="lists_getIndex" id=";tm:evYD60`$4wsjK/tS">
                                                                    <mutation statement="false" at="false"></mutation>
                                                                    <field name="MODE">GET</field>
                                                                    <field name="WHERE">LAST</field>
                                                                    <value name="VALUE">
                                                                      <block type="variables_get" id="R,{b0CiS@5dFYot`f)HB">
                                                                        <field name="VAR" id="}*+,Qt.$dflnL[W+E#Rl">EPEX-Preisliste</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <value name="AT">
                                                                  <block type="math_number" id="Z]h93Qz0[}2-.sEy|?DW">
                                                                    <field name="NUM">3</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <value name="ADD20">
                                                              <block type="text" id="#h?8kMzaWhw~a(lE^^X(">
                                                                <field name="TEXT">:59 Uhr beendet sein.</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="control" id="OQ,FxgK3-+tVDi}yzsUR">
                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                            <field name="OID">0_userdata.0.Warp.EPEX.EPEX_Kalkulationstext</field>
                                                            <field name="WITH_DELAY">FALSE</field>
                                                            <value name="VALUE">
                                                              <block type="variables_get" id=";,[%rKJA0IYerWd@l.}7">
                                                                <field name="VAR" id=",Pbgu8P~f{nfIV(M0|B`">PushoverText</field>
                                                              </block>
                                                            </value>
                                                            <next>
                                                              <block type="procedures_callnoreturn" id="MYt4bL|70[bp0lWr:JiU">
                                                                <mutation name="FKT_Pushover_absetzen"></mutation>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" id="]*K}(xEO6!%0UF5Ye|(+" x="13" y="8213">
    <field name="NAME">FKT_6_auf_günstige_EPEX_Stunde_prüfen_und_WARP_ansteuern</field>
    <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
    <statement name="STACK">
      <block type="debug" id="fq+td~L$ElgB@3|l/(Y(">
        <field name="Severity">log</field>
        <value name="TEXT">
          <shadow type="text" id="i#v|FtlfMA/X?c~Xc(Sn">
            <field name="TEXT">FKT_6_EPEX_GÜNSTIGE_STUNDE_PRÜFEN_UND_WARP_ANSTEUERN</field>
          </shadow>
        </value>
        <next>
          <block type="controls_if" id="wml0`jxu!:1lE/3:__ca">
            <mutation else="1"></mutation>
            <value name="IF0">
              <block type="logic_operation" id="C=hABF^Ds1[l(QZKOK0/">
                <field name="OP">AND</field>
                <value name="A">
                  <block type="logic_compare" id="=@Z]I05[n)Ck|K{yft,]">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="time_get" id="fKXb1/[dk$9.nrJPLPes">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                        <field name="OPTION">DD.MM.YY</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="lists_getIndex" id="^[]S]28Bl{^ss$V89q{p">
                        <mutation statement="false" at="true"></mutation>
                        <field name="MODE">GET</field>
                        <field name="WHERE">FROM_START</field>
                        <value name="VALUE">
                          <block type="lists_getIndex" id="T]741A{YuUxwLL*TJ+:r">
                            <mutation statement="false" at="true"></mutation>
                            <field name="MODE">GET</field>
                            <field name="WHERE">FROM_START</field>
                            <value name="VALUE">
                              <block type="variables_get" id="`UuoV~y:|ufhA,o@{v{;">
                                <field name="VAR" id="}*+,Qt.$dflnL[W+E#Rl">EPEX-Preisliste</field>
                              </block>
                            </value>
                            <value name="AT">
                              <block type="variables_get" id="2l^]1[d*q[:4I5VdG5!a">
                                <field name="VAR" id="u{=u^?=z;U#:/Tr%ta7i">zähler</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="AT">
                          <block type="math_number" id="1$iv7-v=p;-OmeF=Q8Dt">
                            <field name="NUM">2</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_compare" id="p4vAt/b9J2PPUBz[YPg*">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="time_get" id="y104^~Kj)-z?*yvxbTt~">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                        <field name="OPTION">h</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="lists_getIndex" id=",I4/w18=AMJ5Eg5p:doC">
                        <mutation statement="false" at="true"></mutation>
                        <field name="MODE">GET</field>
                        <field name="WHERE">FROM_START</field>
                        <value name="VALUE">
                          <block type="lists_getIndex" id="tpPTN*LEmneVXb9VH^n]">
                            <mutation statement="false" at="true"></mutation>
                            <field name="MODE">GET</field>
                            <field name="WHERE">FROM_START</field>
                            <value name="VALUE">
                              <block type="variables_get" id="QsZ}^%KCVy@uN^g(B1$p">
                                <field name="VAR" id="}*+,Qt.$dflnL[W+E#Rl">EPEX-Preisliste</field>
                              </block>
                            </value>
                            <value name="AT">
                              <block type="variables_get" id="2n8[pU48u.o2`Q%C9]|m">
                                <field name="VAR" id="u{=u^?=z;U#:/Tr%ta7i">zähler</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="AT">
                          <block type="math_number" id="|==Jv]}g$lGW-HaG|5Yx">
                            <field name="NUM">3</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="variables_set" id=";B0][M]Z7:qovjK-npD~">
                <field name="VAR" id="-`1W?h};Mzx,LXQ(SJVs">FLG_EPEX-Stunde_abwarten</field>
                <value name="VALUE">
                  <block type="logic_boolean" id="~nWa]w/Xh^Yxiwl)c{w[">
                    <field name="BOOL">FALSE</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="Q%`UNfy=$0}`cqMj?R8w">
                    <field name="VAR" id="eM%g5|~a+#wQsS}6obku">WARP_acP</field>
                    <value name="VALUE">
                      <block type="variables_get" id="n;oF([%4*gCQaVqV]!qD">
                        <field name="VAR" id="#P{Lk8YapEZd6^5B-U2j">EPEX_BEV_cPmax</field>
                      </block>
                    </value>
                    <next>
                      <block type="procedures_callnoreturn" id=".]^]T(;OzNEj6hf,0ibN">
                        <mutation name="FKT_7_WARP_Werte_schreiben"></mutation>
                        <next>
                          <block type="variables_set" id="j95.qs2!c`7*Zz{pH$8m">
                            <field name="VAR" id=",Pbgu8P~f{nfIV(M0|B`">PushoverText</field>
                            <value name="VALUE">
                              <block type="text_join" id="rL2}5Z5fz9uaNN){*Q@e">
                                <mutation items="5"></mutation>
                                <value name="ADD0">
                                  <block type="text" id="n`edJuiZ}}-1ni%KfhUs">
                                    <field name="TEXT">EPEX Ladevorgang läuft   -   </field>
                                  </block>
                                </value>
                                <value name="ADD1">
                                  <block type="variables_get" id="s}~sg4c^{L%7c]Z0bkvC">
                                    <field name="VAR" id="u{=u^?=z;U#:/Tr%ta7i">zähler</field>
                                  </block>
                                </value>
                                <value name="ADD2">
                                  <block type="text" id=")LU~2XSa!:RKE{m7)=qM">
                                    <field name="TEXT">. von </field>
                                  </block>
                                </value>
                                <value name="ADD3">
                                  <block type="variables_get" id="R(3H!4C_(V?+OmVh*%s.">
                                    <field name="VAR" id="yf6cig:nb!%;w?V@!fXh">BEV_Ladedauer_benötigt</field>
                                  </block>
                                </value>
                                <value name="ADD4">
                                  <block type="text" id="=H)YDNuGOIX$$O:#-{W}">
                                    <field name="TEXT">. Stunden</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <next>
                              <block type="procedures_callnoreturn" id="X6O(Y!r`b]3@y`R|Zw#j">
                                <mutation name="FKT_Pushover_absetzen"></mutation>
                                <next>
                                  <block type="math_change" id="-ee_UyFnJ*{N0*/UBm*Z">
                                    <field name="VAR" id="u{=u^?=z;U#:/Tr%ta7i">zähler</field>
                                    <value name="DELTA">
                                      <shadow type="math_number" id="rbf-d)SCB,Lr%-H|L$CE">
                                        <field name="NUM">1</field>
                                      </shadow>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </statement>
            <statement name="ELSE">
              <block type="controls_if" id="K?`d-4n_14AyoZ-l!TPh">
                <value name="IF0">
                  <block type="logic_negate" id="$u8jPLXD9m3(Z39`f,~M">
                    <value name="BOOL">
                      <block type="variables_get" id="3i)[hG]-j)~^A*1Q-~yb">
                        <field name="VAR" id="-`1W?h};Mzx,LXQ(SJVs">FLG_EPEX-Stunde_abwarten</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="variables_set" id="+,Q2O1azzc/C]x3=l)^r">
                    <field name="VAR" id=",Pbgu8P~f{nfIV(M0|B`">PushoverText</field>
                    <value name="VALUE">
                      <block type="text_join" id="hI^3*NjxF;(R=2,lmuyP">
                        <mutation items="5"></mutation>
                        <value name="ADD0">
                          <block type="text" id=")dw~R70X5rg?eCN1A|xB">
                            <field name="TEXT">Nächste EPEX-Ladestunde: </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="lists_getIndex" id="cz-^nWsvg}o1up,1lST;">
                            <mutation statement="false" at="true"></mutation>
                            <field name="MODE">GET</field>
                            <field name="WHERE">FROM_START</field>
                            <value name="VALUE">
                              <block type="lists_getIndex" id="98_S]0g=UBNi}5U7J40c">
                                <mutation statement="false" at="true"></mutation>
                                <field name="MODE">GET</field>
                                <field name="WHERE">FROM_START</field>
                                <value name="VALUE">
                                  <block type="variables_get" id="cS-/P|}G`+Q3HyY7zM[B">
                                    <field name="VAR" id="}*+,Qt.$dflnL[W+E#Rl">EPEX-Preisliste</field>
                                  </block>
                                </value>
                                <value name="AT">
                                  <block type="variables_get" id="K8TkH.I`n[t,ai@GPl}a">
                                    <field name="VAR" id="u{=u^?=z;U#:/Tr%ta7i">zähler</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <value name="AT">
                              <block type="math_number" id="ISfC]Ycd$`Er7#r`IxD%">
                                <field name="NUM">2</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="ADD2">
                          <block type="text" id="9rE0C3RlVjg[XWr}GMr#">
                            <field name="TEXT">, </field>
                          </block>
                        </value>
                        <value name="ADD3">
                          <block type="lists_getIndex" id="Vtw.EoD}emB~xD8M^/k/">
                            <mutation statement="false" at="true"></mutation>
                            <field name="MODE">GET</field>
                            <field name="WHERE">FROM_START</field>
                            <value name="VALUE">
                              <block type="lists_getIndex" id="4{]Jl^.L1iOi4Pmoj#s+">
                                <mutation statement="false" at="true"></mutation>
                                <field name="MODE">GET</field>
                                <field name="WHERE">FROM_START</field>
                                <value name="VALUE">
                                  <block type="variables_get" id="sLbVNRE8c8uV71}B,hX+">
                                    <field name="VAR" id="}*+,Qt.$dflnL[W+E#Rl">EPEX-Preisliste</field>
                                  </block>
                                </value>
                                <value name="AT">
                                  <block type="variables_get" id="DI*8Jb6xlY-58zU_rXdp">
                                    <field name="VAR" id="u{=u^?=z;U#:/Tr%ta7i">zähler</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <value name="AT">
                              <block type="math_number" id="7]jt18vM{BSaPI)+zy#N">
                                <field name="NUM">3</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="ADD4">
                          <block type="text" id="VSh;|RyHQWj8N@G}Vi.:">
                            <field name="TEXT">:00 Uhr.</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="procedures_callnoreturn" id="gywLP)VjN+,Pj1[:h)XF">
                        <mutation name="FKT_Pushover_absetzen"></mutation>
                      </block>
                    </next>
                  </block>
                </statement>
                <next>
                  <block type="variables_set" id="kDj;_=*864RoQ0+I%Tx~">
                    <field name="VAR" id="eM%g5|~a+#wQsS}6obku">WARP_acP</field>
                    <value name="VALUE">
                      <block type="math_number" id="KRur$Um`WbY}CkX7x/EF">
                        <field name="NUM">0</field>
                      </block>
                    </value>
                    <next>
                      <block type="procedures_callnoreturn" id="6Fnbe9L1C=$i#~ElXsff">
                        <mutation name="FKT_7_WARP_Werte_schreiben"></mutation>
                        <next>
                          <block type="variables_set" id="S@lk8pZxx#JXn?2MxTzx">
                            <field name="VAR" id="-`1W?h};Mzx,LXQ(SJVs">FLG_EPEX-Stunde_abwarten</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="ky;9CQsIe~UF[P0i*}26">
                                <field name="BOOL">TRUE</field>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </statement>
            <next>
              <block type="debug" id="DZR~?v}:nzs88DB?]Dh(">
                <field name="Severity">log</field>
                <value name="TEXT">
                  <shadow type="text" id="T,~T2f(ySz~7{?h*j,w:">
                    <field name="TEXT">test</field>
                  </shadow>
                  <block type="text_join" id="N?KI3S|KF66?#wHgsN}p">
                    <mutation items="2"></mutation>
                    <value name="ADD0">
                      <block type="text" id="7jNw!ru,$mzqbT*=0_DU">
                        <field name="TEXT">WARP_acP: </field>
                      </block>
                    </value>
                    <value name="ADD1">
                      <block type="variables_get" id="+~YR*Aa0A1:3ytG6zw)y">
                        <field name="VAR" id="eM%g5|~a+#wQsS}6obku">WARP_acP</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" id="Or:-:D}VJ)sRW`xsZ08X" x="13" y="9113">
    <field name="NAME">FKT_7_WARP_Werte_schreiben</field>
    <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
    <statement name="STACK">
      <block type="debug" id="L-Hf]l7ZOdAdDX+a$9ua">
        <field name="Severity">log</field>
        <value name="TEXT">
          <shadow type="text" id="5`Ef:c:xeTAh/w=biMjG">
            <field name="TEXT">FKT_7_WARP_WERTE_SCHREIBEN</field>
          </shadow>
        </value>
        <next>
          <block type="debug" id="WVq,R=yY|GsWjj.VZTMe">
            <field name="Severity">log</field>
            <value name="TEXT">
              <shadow type="text" id="rc!WdcIat#1La0Lo1G,G">
                <field name="TEXT">test</field>
              </shadow>
              <block type="procedures_callcustomreturn" id="oM6HyU(f:!Q~bHYoD|E!">
                <mutation name="http_put">
                  <arg name="url"></arg>
                  <arg name="body"></arg>
                </mutation>
                <value name="ARG0">
                  <block type="text" id="%)fwiQ?=MC+sAZqKp5{6">
                    <field name="TEXT">http://192.168.111.248/phase_switcher/available_charging_power</field>
                  </block>
                </value>
                <value name="ARG1">
                  <block type="text_join" id="}5]YBh+do!Rq@^KFmD9=">
                    <mutation items="3"></mutation>
                    <value name="ADD0">
                      <block type="text" id="-QvKjiOF8;B|v1g%xwkK">
                        <field name="TEXT">{"power":</field>
                      </block>
                    </value>
                    <value name="ADD1">
                      <block type="convert_tostring" id="U9]L*3cAx0of*q$]aBs^">
                        <value name="VALUE">
                          <block type="variables_get" id="faWicD`^fB8!yEDZ[nO0">
                            <field name="VAR" id="eM%g5|~a+#wQsS}6obku">WARP_acP</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="ADD2">
                      <block type="text" id="cGa[Dk=`IEnEy]ytALR%">
                        <field name="TEXT">}</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" id="x{-E7(Q%fuw|=ka8]w!I" x="13" y="9388">
    <field name="NAME">FKT_8_Ladezeit-Ende_erreicht</field>
    <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
    <statement name="STACK">
      <block type="debug" id="|Z8C`4sEGXcJnfZz(`Za">
        <field name="Severity">log</field>
        <value name="TEXT">
          <shadow type="text" id="@_S(?nu]nmN|C!O=f+Wc">
            <field name="TEXT">FKT_8_LADEZEIT-ENDE_ERREICHT</field>
          </shadow>
        </value>
        <next>
          <block type="variables_set" id="ex==FfbxlI9^4.L:Z}wg">
            <field name="VAR" id=",Pbgu8P~f{nfIV(M0|B`">PushoverText</field>
            <value name="VALUE">
              <block type="text_join" id="qG.C_)h{6q:IYY*xqM6$">
                <mutation items="5"></mutation>
                <value name="ADD0">
                  <block type="text" id="E~qprTKZIWN*Tn/*{,t}">
                    <field name="TEXT">EPEX  |  Ladezeit-Ende erreicht  |  BEV_SoC_Ziel: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="variables_get" id="h@)k4Gc2a[pzz4I3l`8*">
                    <field name="VAR" id="nu,y#!iWue%SF`{|Il0*">EPEX_BEV_SoC_ziel</field>
                  </block>
                </value>
                <value name="ADD2">
                  <block type="text" id="rw3_~l)(*uPSnLrWJI4O">
                    <field name="TEXT">%  |  BEV_SoC: </field>
                  </block>
                </value>
                <value name="ADD3">
                  <block type="variables_get" id="+^%iRgGX4F)C[xP/wZ25">
                    <field name="VAR" id="aRhIEQnV}36tIZAUyWK:">BEV_SoC_aktuell</field>
                  </block>
                </value>
                <value name="ADD4">
                  <block type="text" id="!InT_i(fR4})mh(Yz3LJ">
                    <field name="TEXT">%</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="procedures_callnoreturn" id="uZ`!Dk5{{o3mn0SK1DsQ">
                <mutation name="FKT_Pushover_absetzen"></mutation>
                <next>
                  <block type="procedures_callnoreturn" id=":cvMWu}]wDt1vjY1~m%F">
                    <mutation name="FKT_9_alles_stoppen"></mutation>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" id="FYh4dsV^{nLSvPDiA2Q#" x="13" y="9688">
    <field name="NAME">FKT_9_alles_stoppen</field>
    <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
    <statement name="STACK">
      <block type="debug" id="lKc$D+6*44iUmD0~F6YA">
        <field name="Severity">log</field>
        <value name="TEXT">
          <shadow type="text" id="=!SuysS^s*W=YdSVjJ)h">
            <field name="TEXT">FKT_9_ALLES_STOPPEN</field>
          </shadow>
        </value>
        <next>
          <block type="schedule_clear" id="aJLA{47]Mph_Z%)K8Wo`">
            <field name="NAME">CRON_mit_neuen_EPEX-Preise_neu_berechnen</field>
            <next>
              <block type="schedule_clear" id="ES7w`Ec5H1ZAsEpEh*#m">
                <field name="NAME">CRON_zur_vollen_Stunde</field>
                <next>
                  <block type="variables_set" id="}9LI5(XrD`O-4-Q*{lUT">
                    <field name="VAR" id="eM%g5|~a+#wQsS}6obku">WARP_acP</field>
                    <value name="VALUE">
                      <block type="math_number" id="nd)AmCtSs:y0?t|iX}2H">
                        <field name="NUM">0</field>
                      </block>
                    </value>
                    <next>
                      <block type="procedures_callnoreturn" id="_8H^7FC1X5DLmDge7b)S">
                        <mutation name="FKT_7_WARP_Werte_schreiben"></mutation>
                        <next>
                          <block type="control" id=";KfM}}[)|Wl^._+(tyLi">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                            <field name="OID">0_userdata.0.Warp.EPEX.EPEX_LV_Status</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="b[p5FE!rq(3j4o(c#aZi">
                                <field name="BOOL">FALSE</field>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" id="D@H/YWsO/B^J4tM,x8?H" x="13" y="9963">
    <field name="NAME">FKT_Pushover_absetzen</field>
    <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
    <statement name="STACK">
      <block type="pushover" id="nb9:xG:GcVJaWlAyJ#Au">
        <field name="INSTANCE"></field>
        <field name="SOUND"></field>
        <field name="PRIORITY">0</field>
        <field name="LOG">log</field>
        <value name="MESSAGE">
          <shadow type="text" id="-b6?UVFk|c3b4^VH5oti">
            <field name="TEXT">text</field>
          </shadow>
          <block type="variables_get" id="tK!QYmd$dfU-SyBi_GGN">
            <field name="VAR" id=",Pbgu8P~f{nfIV(M0|B`">PushoverText</field>
          </block>
        </value>
        <value name="SOUND_CUSTOM">
          <shadow type="text" id="c5=~8Jg06u].B(96yDBK">
            <field name="TEXT"></field>
          </shadow>
        </value>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" id="wPmVlKU~IuSS-5vO?G3J" x="13" y="10363">
    <field name="NAME">FKT_Information_1_absetzen</field>
    <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
    <statement name="STACK">
      <block type="debug" id="Mr0k^SA)q#qAqtVC[$wC">
        <field name="Severity">log</field>
        <value name="TEXT">
          <shadow type="text" id="_;~P2r~=-y^nLUutjTar">
            <field name="TEXT">***********************************************************</field>
          </shadow>
        </value>
        <next>
          <block type="debug" id="!]|@}97]XI^u@f+nu2X^">
            <field name="Severity">log</field>
            <value name="TEXT">
              <shadow type="text" id="vEI#dA*@LqZYv.f4b?d`">
                <field name="TEXT">test</field>
              </shadow>
              <block type="text_join" id="XjsK/ai%hdmw{1tDUG@Q">
                <mutation items="6"></mutation>
                <value name="ADD0">
                  <block type="text" id="6.rJ+;fa:%e{P|`aVh2[">
                    <field name="TEXT">BEV_SoC: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="variables_get" id="~UHNy28L0f{Ry(bD.Al0">
                    <field name="VAR" id="aRhIEQnV}36tIZAUyWK:">BEV_SoC_aktuell</field>
                  </block>
                </value>
                <value name="ADD2">
                  <block type="text" id="}=Xf!qj?Z=31Iq6ivs!h">
                    <field name="TEXT">   |   BEV_SoC_ziel:</field>
                  </block>
                </value>
                <value name="ADD3">
                  <block type="variables_get" id="Lo2oSDc{bWPvXNnlx#Y~">
                    <field name="VAR" id="nu,y#!iWue%SF`{|Il0*">EPEX_BEV_SoC_ziel</field>
                  </block>
                </value>
                <value name="ADD4">
                  <block type="text" id="8Ux24SX7MaChotw,m)cU">
                    <field name="TEXT">   |   BEV_cP_max:</field>
                  </block>
                </value>
                <value name="ADD5">
                  <block type="variables_get" id="SC3kKBK}Y#NQjB`+Ziw]">
                    <field name="VAR" id="#P{Lk8YapEZd6^5B-U2j">EPEX_BEV_cPmax</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="debug" id="8O_}E(S{XS{obE]4tJg0">
                <field name="Severity">log</field>
                <value name="TEXT">
                  <shadow type="text" id="B:3dmeJ99kazk1Hn1ecx">
                    <field name="TEXT">test</field>
                  </shadow>
                  <block type="text_join" id="R.3h2@!CIkzfKBLC{oYP">
                    <mutation items="3"></mutation>
                    <value name="ADD0">
                      <block type="text" id="KMZ?-%v7-$.-V,nz`[S~">
                        <field name="TEXT">BEV_Ladeenergie_benötigt: </field>
                      </block>
                    </value>
                    <value name="ADD1">
                      <block type="variables_get" id="^5`e|O5yS|3T(/qG7Oj!">
                        <field name="VAR" id="._$(d*EJ[MyQbNq!s:za">BEV_Ladeenergie_benötigt</field>
                      </block>
                    </value>
                    <value name="ADD2">
                      <block type="text" id="d=@P:!hVJB?WP1+1OA_N">
                        <field name="TEXT">kWh</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="debug" id="1}C4[]M*-(~YUC^aBn2%">
                    <field name="Severity">log</field>
                    <value name="TEXT">
                      <shadow type="text" id="goC+1j1dZgNjTJ*V6~(m">
                        <field name="TEXT">test</field>
                      </shadow>
                      <block type="text_join" id="gXz?G.4ZV.3NFpT1#]}s">
                        <mutation items="3"></mutation>
                        <value name="ADD0">
                          <block type="text" id="lp@e$qPfB*FyiQ*a9::^">
                            <field name="TEXT">BEV_Ladedauer_benötigt: </field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="variables_get" id="UgD}Oq/I85}GhL!D}^3V">
                            <field name="VAR" id="yf6cig:nb!%;w?V@!fXh">BEV_Ladedauer_benötigt</field>
                          </block>
                        </value>
                        <value name="ADD2">
                          <block type="text" id="`_E910SdiX$eRwu4{$6S">
                            <field name="TEXT">h</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" id="TIciC_amrT9W:9dedgfZ" x="13" y="10888">
    <field name="NAME">FKT_Statusinformation_2_absetzen</field>
    <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
    <statement name="STACK">
      <block type="debug" id="4Z(K~[J6YNC[N{ky9KKN">
        <field name="Severity">log</field>
        <value name="TEXT">
          <shadow type="text" id="5mt=P@~}Ri3BPPkOe?tm">
            <field name="TEXT">test</field>
          </shadow>
          <block type="text_join" id="BGDPQ3VHL.wn}g}raDJn">
            <mutation items="2"></mutation>
            <value name="ADD0">
              <block type="text" id="xSq5SZd$#]QC{x%7n!lz">
                <field name="TEXT">Tagesorientierung: </field>
              </block>
            </value>
            <value name="ADD1">
              <block type="variables_get" id="OP~NEMe[rS:eLZbjOZjg">
                <field name="VAR" id="pu:Rt)G{,7uRfCoGPRo^">FLG_Tagesorientierung</field>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="debug" id="!_cl2W`u94KQU^W*.kUo">
            <field name="Severity">log</field>
            <value name="TEXT">
              <shadow type="text" id="Zc]+pdHg+a_|ckkwNdav">
                <field name="TEXT">test</field>
              </shadow>
              <block type="text_join" id="p8c9.@t4im1etk^#3XQY">
                <mutation items="4"></mutation>
                <value name="ADD0">
                  <block type="text" id="gj+j)`[kDv{3|yNHiu5c">
                    <field name="TEXT">IstStunde: </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="variables_get" id=";yxCceTQ|j+2jpLHE^)^">
                    <field name="VAR" id="~:mQAl;qyB4Ec3u8-.Z8">IstStunde</field>
                  </block>
                </value>
                <value name="ADD2">
                  <block type="text" id="n*yu-z+Y0/3~4T:O|F9b">
                    <field name="TEXT">   |   ZielStunde: </field>
                  </block>
                </value>
                <value name="ADD3">
                  <block type="variables_get" id="%eU95tJ2RXiUBRE7WuJj">
                    <field name="VAR" id="|7^rxEv[WG[-)a|86.NZ">EPEX_BEV_Ladezeit_ziel</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defcustomreturn" id="j6@8@}EVcIE3`X)Ni8p2" x="13" y="11163">
    <mutation statements="false">
      <arg name="url" varid=")~1|eKPK*J4zn`a*p1NZ"></arg>
      <arg name="body" varid="RMLAYk*60ZPAj/;Ig3~_"></arg>
    </mutation>
    <field name="NAME">http_put</field>
    <field name="SCRIPT">Y29uc3QgYXhpb3MgPSByZXF1aXJlKCdheGlvcycpOw0KDQpsZXQgcmVzcG9uc2VWYWx1ZSA9ICcnOw0KDQphd2FpdCBheGlvcy5wdXQodXJsLCBKU09OLnBhcnNlKGJvZHkpKQ0KICAudGhlbihmdW5jdGlvbiAocmVzcG9uc2UpIHsNCiAgICByZXNwb25zZVZhbHVlID0gcmVzcG9uc2UuZGF0YTsNCiAgICAvLyBjb25zb2xlLmxvZyggcmVzcG9uc2VWYWx1ZSk7DQogIH0pDQogIC5jYXRjaChmdW5jdGlvbiAoZXJyb3IpIHsNCiAgICBjb25zb2xlLmVycm9yKCdFcnJvcjonLCBlcnJvcik7DQogIH0pOw0KDQpyZXR1cm4gcmVzcG9uc2VWYWx1ZTsNCg==</field>
    <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
  </block>
  <block type="procedures_defcustomreturn" id="tP^nfl*BK=drA*7Q_hC~" x="13" y="11213">
    <mutation statements="false">
      <arg name="Liste" varid="@66;y~|^4vr##e+g9JEA"></arg>
      <arg name="Wert" varid="2C!q61acmtBV~=Q_d+[3"></arg>
    </mutation>
    <field name="NAME">EPEX-Preisliste_sortieren</field>
    <field name="SCRIPT">dmFyIFdlcnQgPSBXZXJ0IC0gMTsNCkxpc3RlLnNvcnQoZnVuY3Rpb24oYSwgYil7DQogICAgcmV0dXJuIGFbV2VydF0gLSBiW1dlcnRdOw0KfSk7DQpyZXR1cm4gTGlzdGU7</field>
    <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
  </block>
</xml>