<xml xmlns="http://www.w3.org/1999/xhtml">
  <variables>
    <variable type="" id="Tv*4v@.XJO$|w/reOTn%">Alter_Wert_Sromproduktion_zu_Monatsbeginn</variable>
    <variable type="" id="]W0JSXh/9j$)0koy7`{p">Aktueller_Wert_Produktion</variable>
  </variables>
  <block type="schedule" id="UO0gJ{~PR3E8Qj/2U-pj" x="-312" y="-537">
    <field name="SCHEDULE">1 0 1 * *</field>
    <statement name="STATEMENT">
      <block type="variables_set" id="q}1R:FJ9eIh0N+1fvFr7">
        <field name="VAR" id="Tv*4v@.XJO$|w/reOTn%" variabletype="">Alter_Wert_Sromproduktion_zu_Monatsbeginn</field>
        <value name="VALUE">
          <block type="get_value" id="q-}V)DE(zWe~Cx_mU.f1">
            <field name="ATTR">val</field>
            <field name="OID">javascript.0.Stromproduktion_zu_Monatsbeginn</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="yC}]BkJ19ZR,GM{!^Ugj">
            <field name="VAR" id="]W0JSXh/9j$)0koy7`{p" variabletype="">Aktueller_Wert_Produktion</field>
            <value name="VALUE">
              <block type="get_value" id="izg`XXp,@#WisFhJJW]b">
                <field name="ATTR">val</field>
                <field name="OID">fronius.0.inverter.1.TOTAL_ENERGY</field>
              </block>
            </value>
            <next>
              <block type="control" id="^gs`besGoyTr(NiA*!:k">
                <mutation delay_input="false"></mutation>
                <field name="OID">javascript.0.Stromproduktion_zu_Monatsbeginn</field>
                <field name="WITH_DELAY">FALSE</field>
                <value name="VALUE">
                  <block type="get_value" id="K]ISDxHV/wd5K*^icw6O">
                    <field name="ATTR">val</field>
                    <field name="OID">fronius.0.inverter.1.TOTAL_ENERGY</field>
                  </block>
                </value>
                <next>
                  <block type="control" id="2blKM/muSn:j?/^05[V^">
                    <mutation delay_input="false"></mutation>
                    <field name="OID">javascript.0.Stromproduktion_monatlich</field>
                    <field name="WITH_DELAY">FALSE</field>
                    <value name="VALUE">
                      <block type="math_arithmetic" id="Q;PHr},tTuNv=w/l(*O1">
                        <field name="OP">MINUS</field>
                        <value name="A">
                          <shadow type="math_number" id="HM#WA^-a?fs643eCW:fu">
                            <field name="NUM">0</field>
                          </shadow>
                          <block type="variables_get" id="@uEj!uWB.6Yxxgsoy~G0">
                            <field name="VAR" id="]W0JSXh/9j$)0koy7`{p" variabletype="">Aktueller_Wert_Produktion</field>
                          </block>
                        </value>
                        <value name="B">
                          <shadow type="math_number" id="eVKQ,]um@kKFFNeTBCk6">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="variables_get" id="~o|TUm^J(PRYSRK,TV/)">
                            <field name="VAR" id="Tv*4v@.XJO$|w/reOTn%" variabletype="">Alter_Wert_Sromproduktion_zu_Monatsbeginn</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="debug" id="5rF)zwo21BlUWRSp0Vd*">
                        <field name="Severity">log</field>
                        <value name="TEXT">
                          <shadow type="text" id="Zy_7J@;os=PdeJAJOEN[">
                            <field name="TEXT">Stromproduktion letzter Monat:</field>
                          </shadow>
                        </value>
                        <next>
                          <block type="debug" id="%:ygsNeNm;S[EgqM,`DW">
                            <field name="Severity">log</field>
                            <value name="TEXT">
                              <shadow type="text" id="S[gefBacQ:?bc,p-(hb0">
                                <field name="TEXT">test</field>
                              </shadow>
                              <block type="math_arithmetic" id="Tj|mf#CC+-VpwRJ4w@+O">
                                <field name="OP">MINUS</field>
                                <value name="A">
                                  <shadow type="math_number" id="HM#WA^-a?fs643eCW:fu">
                                    <field name="NUM">0</field>
                                  </shadow>
                                  <block type="variables_get" id="NUQ0lH4o3Cj_y65MnGv0">
                                    <field name="VAR" id="]W0JSXh/9j$)0koy7`{p" variabletype="">Aktueller_Wert_Produktion</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <shadow type="math_number" id="eVKQ,]um@kKFFNeTBCk6">
                                    <field name="NUM">1</field>
                                  </shadow>
                                  <block type="variables_get" id="Hnp8i771dH[icQ=ED|gW">
                                    <field name="VAR" id="Tv*4v@.XJO$|w/reOTn%" variabletype="">Alter_Wert_Sromproduktion_zu_Monatsbeginn</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>