<xml xmlns="http://www.w3.org/1999/xhtml">
  <variables>
    <variable type="" id="M@vY4iKW?4Yz4zk:fvhN">i</variable>
    <variable type="" id="Z)PVIbNs[VHy1eJxGaVC">imax</variable>
    <variable type="" id=";|D8ltg2LSz./D3d*iBq">color</variable>
    <variable type="" id="aeAIBpot/CpDoj_b-H7a">colorlist</variable>
    <variable type="" id="tZ_(6bw7dO6T;B^G|ZCB">j</variable>
    <variable type="" id="d[ynGc@.W9Zus;}p%Q==">brightness</variable>
  </variables>
  <block type="comment" id="[gL%WLCWDZ[4n^r4W(LL" x="1238" y="-1412">
    <field name="COMMENT">Überwachung der IKEA 1 Schalter/Dimmer Script</field>
    <next>
      <block type="comment" id="s++HyD!8IDpBVBQM)]3=">
        <field name="COMMENT">Links Rechts durch die Liste Farben schalten</field>
        <next>
          <block type="comment" id="6=rh{F*so`#t__DKn?Y8">
            <field name="COMMENT">Rauf runter schalten: brightness</field>
            <next>
              <block type="comment" id="N`R~.#gxK^W.^3{u:h5A">
                <field name="COMMENT">Button in der Mitte Ein Aus schalten</field>
                <next>
                  <block type="variables_set" id="IgEAWX-ZvHoJVNZ7ac*j">
                    <field name="VAR" id="M@vY4iKW?4Yz4zk:fvhN" variabletype="">i</field>
                    <value name="VALUE">
                      <block type="math_number" id="0ss=@NtustHCbX8)R`j3">
                        <field name="NUM">0</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="*;)Viwp-;e6J9K.$8`j0">
                        <field name="VAR" id="Z)PVIbNs[VHy1eJxGaVC" variabletype="">imax</field>
                        <value name="VALUE">
                          <block type="math_number" id="t/8btNy35jV`Qdc+LM@.">
                            <field name="NUM">0</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="3_/4YBF$tIl5ww,Nhq08">
                            <field name="VAR" id=";|D8ltg2LSz./D3d*iBq" variabletype="">color</field>
                            <value name="VALUE">
                              <block type="text" id="@Q+,_d|(OtDb0oeT*e%}">
                                <field name="TEXT"></field>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="_#6M#aKibx5VBd2j]oA(">
                                <field name="VAR" id="aeAIBpot/CpDoj_b-H7a" variabletype="">colorlist</field>
                                <value name="VALUE">
                                  <block type="lists_create_with" id="0~Ak#4Cx+/Z1s0^S03nk">
                                    <mutation items="5"></mutation>
                                    <value name="ADD0">
                                      <block type="text" id="#1Qb/3OI_@z-ta|B@DBx">
                                        <field name="TEXT">#FF00FF</field>
                                      </block>
                                    </value>
                                    <value name="ADD1">
                                      <block type="text" id="aZ5k^(0Nl{2c$D:oHgD3">
                                        <field name="TEXT">#10681E</field>
                                      </block>
                                    </value>
                                    <value name="ADD2">
                                      <block type="text" id="qzgf/BZ6+Q5@,=C%NpIJ">
                                        <field name="TEXT">#9400D3</field>
                                      </block>
                                    </value>
                                    <value name="ADD3">
                                      <block type="text" id=".*-=|u;Y2NOqF~r=LLJU">
                                        <field name="TEXT">#FF8C00</field>
                                      </block>
                                    </value>
                                    <value name="ADD4">
                                      <block type="text" id="*:4lryHP+~$*so8niR[z">
                                        <field name="TEXT">#00CED1</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <next>
                                  <block type="controls_forEach" id="GC*#.Xp/UDm!!?|7F:#?">
                                    <field name="VAR" id="tZ_(6bw7dO6T;B^G|ZCB" variabletype="">j</field>
                                    <value name="LIST">
                                      <block type="variables_get" id="]V;Qs6eU7+Lqv|V0:^j^">
                                        <field name="VAR" id="aeAIBpot/CpDoj_b-H7a" variabletype="">colorlist</field>
                                      </block>
                                    </value>
                                    <statement name="DO">
                                      <block type="variables_set" id="(ZLg-Hpn/2%x$,-z3(@b">
                                        <field name="VAR" id="Z)PVIbNs[VHy1eJxGaVC" variabletype="">imax</field>
                                        <value name="VALUE">
                                          <block type="math_arithmetic" id="gO%8J/c8nS5g~pPn:Lo)">
                                            <field name="OP">ADD</field>
                                            <value name="A">
                                              <shadow type="math_number" id="qlfMFlxAr=k1rSmUF|3:">
                                                <field name="NUM">1</field>
                                              </shadow>
                                              <block type="variables_get" id="3xd84YW}AuVP0B0a~g,=">
                                                <field name="VAR" id="Z)PVIbNs[VHy1eJxGaVC" variabletype="">imax</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <shadow type="math_number" id="8c?TRUZf[pr6Vq=:v[ES">
                                                <field name="NUM">1</field>
                                              </shadow>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </statement>
                                    <next>
                                      <block type="debug" id="O0J_UD{)yy(|YnG{Oiw|">
                                        <field name="Severity">log</field>
                                        <value name="TEXT">
                                          <shadow type="text" id="cnjr@2+bO]OP^LjK?`i:">
                                            <field name="TEXT">test</field>
                                          </shadow>
                                          <block type="text_join" id="|6WoJo0P02OT~%Akg]m@">
                                            <mutation items="2"></mutation>
                                            <value name="ADD0">
                                              <block type="text" id="*Eh|JR@L;t9f:%Lqwpx|">
                                                <field name="TEXT">imax: </field>
                                              </block>
                                            </value>
                                            <value name="ADD1">
                                              <block type="variables_get" id="Hy=y$M{l%W6fcaG$EUBz">
                                                <field name="VAR" id="Z)PVIbNs[VHy1eJxGaVC" variabletype="">imax</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="on_ext" id="V8,NK{m*PXCwI`wEBECx">
                                            <mutation items="9"></mutation>
                                            <field name="CONDITION">gt</field>
                                            <field name="ACK_CONDITION"></field>
                                            <value name="OID0">
                                              <shadow type="field_oid" id="!%krSk*m7Xkqan6+O6jC">
                                                <field name="oid">default</field>
                                              </shadow>
                                              <block type="field_oid" id="%+dX3O1~=7;~,.8@P19!">
                                                <field name="oid">zigbee.1.90fd9ffffeff6a23.down_button</field>
                                              </block>
                                            </value>
                                            <value name="OID1">
                                              <shadow type="field_oid" id="/[%H[a;wgAg*Ca64YkoH">
                                                <field name="oid">default</field>
                                              </shadow>
                                              <block type="field_oid" id="-Q;n2!.T%MP{:|:ZW^F0">
                                                <field name="oid">zigbee.1.90fd9ffffeff6a23.down_click</field>
                                              </block>
                                            </value>
                                            <value name="OID2">
                                              <shadow type="field_oid" id="G=rZ:0(ryt{Yyz9XD2be">
                                                <field name="oid">default</field>
                                              </shadow>
                                              <block type="field_oid" id="fu+yG_s$(+KlXz=`)rA,">
                                                <field name="oid">zigbee.1.90fd9ffffeff6a23.left_button</field>
                                              </block>
                                            </value>
                                            <value name="OID3">
                                              <shadow type="field_oid" id="U;ZkC1_u:d0`FOZZO3+4">
                                                <field name="oid">default</field>
                                              </shadow>
                                              <block type="field_oid" id="@h]DR*fnI8!7Aev]bRmp">
                                                <field name="oid">zigbee.1.90fd9ffffeff6a23.left_click</field>
                                              </block>
                                            </value>
                                            <value name="OID4">
                                              <shadow type="field_oid" id="zY{iqUF0jf0@YKx!(gS.">
                                                <field name="oid">default</field>
                                              </shadow>
                                              <block type="field_oid" id="%o96I*vy/N.5$_#]y`LW">
                                                <field name="oid">zigbee.1.90fd9ffffeff6a23.right_button</field>
                                              </block>
                                            </value>
                                            <value name="OID5">
                                              <shadow type="field_oid" id="%5FB|5#+qDcOaC$|sQ=x">
                                                <field name="oid">default</field>
                                              </shadow>
                                              <block type="field_oid" id="HaQOOGQ-orVMAC)Ttm94">
                                                <field name="oid">zigbee.1.90fd9ffffeff6a23.right_click</field>
                                              </block>
                                            </value>
                                            <value name="OID6">
                                              <shadow type="field_oid" id="{*9Q6(G-/M`O9@4`O/;H">
                                                <field name="oid">default</field>
                                              </shadow>
                                              <block type="field_oid" id="l/6t[XnkXb{ISxlx7x/%">
                                                <field name="oid">zigbee.1.90fd9ffffeff6a23.toggle</field>
                                              </block>
                                            </value>
                                            <value name="OID7">
                                              <shadow type="field_oid" id="d,+grzfh$aa2qC[9?*[b">
                                                <field name="oid">default</field>
                                              </shadow>
                                              <block type="field_oid" id="*PRKb6=a9M1LHQE]8yzk">
                                                <field name="oid">zigbee.1.90fd9ffffeff6a23.up_button</field>
                                              </block>
                                            </value>
                                            <value name="OID8">
                                              <shadow type="field_oid" id="dq||sGy8cNjc:i;stfCw">
                                                <field name="oid">default</field>
                                              </shadow>
                                              <block type="field_oid" id="DHfAe5LwnU@7=UpAqLNk">
                                                <field name="oid">zigbee.1.90fd9ffffeff6a23.up_click</field>
                                              </block>
                                            </value>
                                            <statement name="STATEMENT">
                                              <block type="debug" id="3M_u.q34D+CKUJX7Enwl">
                                                <field name="Severity">log</field>
                                                <value name="TEXT">
                                                  <shadow type="text" id="Z]28rH16~?2Ue{nG|nRY">
                                                    <field name="TEXT">test</field>
                                                  </shadow>
                                                  <block type="text_join" id="k01Ch6`WbtN1|9y,!Thx">
                                                    <mutation items="3"></mutation>
                                                    <value name="ADD0">
                                                      <block type="text" id="|;0+NI*qJzND*8Gn$8g?">
                                                        <field name="TEXT">der Taster: </field>
                                                      </block>
                                                    </value>
                                                    <value name="ADD1">
                                                      <block type="on_source" id="8|PGxPvDtAm0#r*6+_3?">
                                                        <field name="ATTR">id</field>
                                                      </block>
                                                    </value>
                                                    <value name="ADD2">
                                                      <block type="text" id="c5%#cq;xKS)B~]4cJyP:">
                                                        <field name="TEXT"> wurde gedrückt.</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="variables_set" id="HzDaTEAlOh!+xitTZ+T;">
                                                    <field name="VAR" id="d[ynGc@.W9Zus;}p%Q==" variabletype="">brightness</field>
                                                    <value name="VALUE">
                                                      <block type="get_value_var" id="E*w(({@R4-!hCn}0PCp-">
                                                        <field name="ATTR">val</field>
                                                        <value name="OID">
                                                          <shadow type="text" id="JoZq1N3D/Xr=ElTenXrC">
                                                            <field name="TEXT"></field>
                                                          </shadow>
                                                          <block type="field_oid" id="%[FpZ4hsg4qewMA?]1;%">
                                                            <field name="oid">zigbee.0.7cb03eaa00ac9855.brightness</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="debug" id="E.aZD.}@+ukkP}h}Oi6u">
                                                        <field name="Severity">log</field>
                                                        <value name="TEXT">
                                                          <shadow type="text" id="cnjr@2+bO]OP^LjK?`i:">
                                                            <field name="TEXT">test</field>
                                                          </shadow>
                                                          <block type="text_join" id="Bt|XPXIuVd@K+pZpzn(n">
                                                            <mutation items="2"></mutation>
                                                            <value name="ADD0">
                                                              <block type="text" id="1?d5imhLk8,Oitk.b83w">
                                                                <field name="TEXT">brightness: </field>
                                                              </block>
                                                            </value>
                                                            <value name="ADD1">
                                                              <block type="variables_get" id="vw#oUIXW{*HSW_9{(@*o">
                                                                <field name="VAR" id="d[ynGc@.W9Zus;}p%Q==" variabletype="">brightness</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="controls_if" id="ge:xCyhpk?8`^hvV}M7!">
                                                            <mutation elseif="8"></mutation>
                                                            <value name="IF0">
                                                              <block type="logic_compare" id="W-1c]bc#e8*vq*L~ANQH">
                                                                <field name="OP">EQ</field>
                                                                <value name="A">
                                                                  <block type="get_value_var" id="W2_HpVoh}pYB`:8j0cCT">
                                                                    <field name="ATTR">val</field>
                                                                    <value name="OID">
                                                                      <shadow type="text" id="JoZq1N3D/Xr=ElTenXrC">
                                                                        <field name="TEXT"></field>
                                                                      </shadow>
                                                                      <block type="field_oid" id="gllkt.h~|]:TM*?2gcc)">
                                                                        <field name="oid">zigbee.1.90fd9ffffeff6a23.down_button</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="logic_boolean" id="(YhlJ8Z?C?sqOT*[NM7:">
                                                                    <field name="BOOL">TRUE</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <statement name="DO0">
                                                              <block type="comment" id="!#-DLI0c:Q.-h-R_%AMc">
                                                                <field name="COMMENT">Down Button event</field>
                                                                <next>
                                                                  <block type="debug" id="L=C~-+X.5+jXe0jCJ8z[">
                                                                    <field name="Severity">log</field>
                                                                    <value name="TEXT">
                                                                      <shadow type="text" id="?2+U5|G^vr0I|2wxq=GY">
                                                                        <field name="TEXT">test</field>
                                                                      </shadow>
                                                                      <block type="text" id="%d3q:/w~;0o~K$:pIrK9">
                                                                        <field name="TEXT">Down Button event</field>
                                                                      </block>
                                                                    </value>
                                                                    <next>
                                                                      <block type="controls_if" id="RR2yVim#NoA*eEl$R7q3">
                                                                        <mutation else="1"></mutation>
                                                                        <value name="IF0">
                                                                          <block type="logic_compare" id="7=tm*|OYSW0rD~0VF|qe">
                                                                            <field name="OP">GTE</field>
                                                                            <value name="A">
                                                                              <block type="variables_get" id="Y5H0;EQFIZ{wDLBn-zSO">
                                                                                <field name="VAR" id="d[ynGc@.W9Zus;}p%Q==" variabletype="">brightness</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="B">
                                                                              <block type="math_number" id="B[*(T:Hli?X?cMP.6%nI">
                                                                                <field name="NUM">21</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <statement name="DO0">
                                                                          <block type="math_change" id="zl*VDu4H;%6+@3HymXT{">
                                                                            <field name="VAR" id="d[ynGc@.W9Zus;}p%Q==" variabletype="">brightness</field>
                                                                            <value name="DELTA">
                                                                              <shadow type="math_number" id="d+J5Ld@itKH7I^.A0bAh">
                                                                                <field name="NUM">0</field>
                                                                              </shadow>
                                                                              <block type="math_number" id="(60!)qDv)lEOePFJjCdr">
                                                                                <field name="NUM">-10</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </statement>
                                                                        <statement name="ELSE">
                                                                          <block type="variables_set" id="|(@}q~sV8siH;FqZKF)U">
                                                                            <field name="VAR" id="d[ynGc@.W9Zus;}p%Q==" variabletype="">brightness</field>
                                                                            <value name="VALUE">
                                                                              <block type="math_number" id="niRhgfk(G@,AJeWQ,FDz">
                                                                                <field name="NUM">10</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </statement>
                                                                        <next>
                                                                          <block type="debug" id="LE;Rsj:`t|=9[9F)+ay9">
                                                                            <field name="Severity">log</field>
                                                                            <value name="TEXT">
                                                                              <shadow type="text" id="cnjr@2+bO]OP^LjK?`i:">
                                                                                <field name="TEXT">test</field>
                                                                              </shadow>
                                                                              <block type="text_join" id="7`N,;:2$/X{2!Pi`d2x-">
                                                                                <mutation items="2"></mutation>
                                                                                <value name="ADD0">
                                                                                  <block type="text" id="|6{sXV{[#XG1w4}a|*sZ">
                                                                                    <field name="TEXT">brightness: </field>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="ADD1">
                                                                                  <block type="variables_get" id="3LAwi/v3m_rjHzm7;pX}">
                                                                                    <field name="VAR" id="d[ynGc@.W9Zus;}p%Q==" variabletype="">brightness</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                            <next>
                                                                              <block type="control" id="B?!!kX$hZ@@=jM:Y_(uh">
                                                                                <mutation delay_input="false"></mutation>
                                                                                <field name="OID">zigbee.0.7cb03eaa00ac9855.brightness</field>
                                                                                <field name="WITH_DELAY">FALSE</field>
                                                                                <value name="VALUE">
                                                                                  <block type="variables_get" id="cdzc=llX}zJ-uZe[X~t8">
                                                                                    <field name="VAR" id="d[ynGc@.W9Zus;}p%Q==" variabletype="">brightness</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </next>
                                                                          </block>
                                                                        </next>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </statement>
                                                            <value name="IF1">
                                                              <block type="logic_compare" id="5eqmn-a;X1|089M8*Vv~">
                                                                <field name="OP">EQ</field>
                                                                <value name="A">
                                                                  <block type="get_value_var" id="K:O8qV/l$Tk4)sC#3t]#">
                                                                    <field name="ATTR">val</field>
                                                                    <value name="OID">
                                                                      <shadow type="text" id="|1Pe;XcERaTaHyF=_fR/">
                                                                        <field name="TEXT"></field>
                                                                      </shadow>
                                                                      <block type="field_oid" id="H~O{+i`I]DDr=pg5;y[*">
                                                                        <field name="oid">zigbee.1.90fd9ffffeff6a23.down_click</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="logic_boolean" id="I5j^RlF/bA)$o3Ub=f1h">
                                                                    <field name="BOOL">TRUE</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <statement name="DO1">
                                                              <block type="comment" id="u6Oh^tr;DL-F39=a9htn">
                                                                <field name="COMMENT">Down Click event</field>
                                                                <next>
                                                                  <block type="debug" id="6{kkwvtk-+|Id8(D#/vu">
                                                                    <field name="Severity">log</field>
                                                                    <value name="TEXT">
                                                                      <shadow type="text" id="?2+U5|G^vr0I|2wxq=GY">
                                                                        <field name="TEXT">test</field>
                                                                      </shadow>
                                                                      <block type="text" id="Vx%}Siq~0U~vy~uoK]ts">
                                                                        <field name="TEXT">Down Click event</field>
                                                                      </block>
                                                                    </value>
                                                                    <next>
                                                                      <block type="controls_if" id=";X5p)aq(z{D{iTkZ!bYT">
                                                                        <mutation else="1"></mutation>
                                                                        <value name="IF0">
                                                                          <block type="logic_compare" id="{h~VU.V)qgk/+}#74klG">
                                                                            <field name="OP">GTE</field>
                                                                            <value name="A">
                                                                              <block type="variables_get" id="oh|P0MRjlF.vRk6p0HwF">
                                                                                <field name="VAR" id="d[ynGc@.W9Zus;}p%Q==" variabletype="">brightness</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="B">
                                                                              <block type="math_number" id="ABws(=c|%/7lSE*i%L;R">
                                                                                <field name="NUM">21</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <statement name="DO0">
                                                                          <block type="math_change" id="FGv27a*bN%MBVy#DlgJK">
                                                                            <field name="VAR" id="d[ynGc@.W9Zus;}p%Q==" variabletype="">brightness</field>
                                                                            <value name="DELTA">
                                                                              <shadow type="math_number" id="d+J5Ld@itKH7I^.A0bAh">
                                                                                <field name="NUM">0</field>
                                                                              </shadow>
                                                                              <block type="math_number" id="$Hv6%SUfCQP|R@[mg,aX">
                                                                                <field name="NUM">-10</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </statement>
                                                                        <statement name="ELSE">
                                                                          <block type="variables_set" id="18)6;wFjtxt{VSkt0?KI">
                                                                            <field name="VAR" id="d[ynGc@.W9Zus;}p%Q==" variabletype="">brightness</field>
                                                                            <value name="VALUE">
                                                                              <block type="math_number" id="GJTAz@zZ:bQ45[9|8G3C">
                                                                                <field name="NUM">10</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </statement>
                                                                        <next>
                                                                          <block type="debug" id="uSjITR5LvQYk`OZh~,vg">
                                                                            <field name="Severity">log</field>
                                                                            <value name="TEXT">
                                                                              <shadow type="text" id="cnjr@2+bO]OP^LjK?`i:">
                                                                                <field name="TEXT">test</field>
                                                                              </shadow>
                                                                              <block type="text_join" id="kr)V,B+nhXXX~hF$zlRn">
                                                                                <mutation items="2"></mutation>
                                                                                <value name="ADD0">
                                                                                  <block type="text" id="pLR]GrlA::5+/!F}Grec">
                                                                                    <field name="TEXT">brightness: </field>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="ADD1">
                                                                                  <block type="variables_get" id="z85TZQ(=]l]G!!9@Jb~G">
                                                                                    <field name="VAR" id="d[ynGc@.W9Zus;}p%Q==" variabletype="">brightness</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                            <next>
                                                                              <block type="control" id="hy9YSb:/1,v|`Jwq,4P9">
                                                                                <mutation delay_input="false"></mutation>
                                                                                <field name="OID">zigbee.0.7cb03eaa00ac9855.brightness</field>
                                                                                <field name="WITH_DELAY">FALSE</field>
                                                                                <value name="VALUE">
                                                                                  <block type="variables_get" id="Iw~q~QT@fCV$;v3WBZ3A">
                                                                                    <field name="VAR" id="d[ynGc@.W9Zus;}p%Q==" variabletype="">brightness</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </next>
                                                                          </block>
                                                                        </next>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </statement>
                                                            <value name="IF2">
                                                              <block type="logic_compare" id="m4:XzWhUcRACEu}IWXWs">
                                                                <field name="OP">EQ</field>
                                                                <value name="A">
                                                                  <block type="get_value_var" id="B9)|r.-5PgJ(6CsOL()K">
                                                                    <field name="ATTR">val</field>
                                                                    <value name="OID">
                                                                      <shadow type="text" id="U7~_OeY|qQpq*tT`3A|m">
                                                                        <field name="TEXT"></field>
                                                                      </shadow>
                                                                      <block type="field_oid" id="|I;wBoSvVR0#eN4T6iy!">
                                                                        <field name="oid">zigbee.1.90fd9ffffeff6a23.left_button</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="logic_boolean" id="jj~L!7d:budsci6dZtnd">
                                                                    <field name="BOOL">TRUE</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <statement name="DO2">
                                                              <block type="comment" id="QZ!IlBs6.fw/v/o6qwN5">
                                                                <field name="COMMENT">Left Button event</field>
                                                                <next>
                                                                  <block type="debug" id="L(cE5O53Nm?(WgdnmKFK">
                                                                    <field name="Severity">log</field>
                                                                    <value name="TEXT">
                                                                      <shadow type="text" id="?2+U5|G^vr0I|2wxq=GY">
                                                                        <field name="TEXT">test</field>
                                                                      </shadow>
                                                                      <block type="text" id="Gt^wBweh=eD|_[^g6)Sl">
                                                                        <field name="TEXT">Left Button event</field>
                                                                      </block>
                                                                    </value>
                                                                    <next>
                                                                      <block type="debug" id="WJcX7sWJaV$~-%nZ2Y~e">
                                                                        <field name="Severity">log</field>
                                                                        <value name="TEXT">
                                                                          <shadow type="text" id="cnjr@2+bO]OP^LjK?`i:">
                                                                            <field name="TEXT">test</field>
                                                                          </shadow>
                                                                          <block type="text_join" id="oVA$RaQ`~(`XpeVQjeF$">
                                                                            <mutation items="2"></mutation>
                                                                            <value name="ADD0">
                                                                              <block type="text" id="A(k;!?8b$J${%O|suHz^">
                                                                                <field name="TEXT">Zähler i: </field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="ADD1">
                                                                              <block type="variables_get" id="Q/qAG|SrsObr#IdaCehx">
                                                                                <field name="VAR" id="M@vY4iKW?4Yz4zk:fvhN" variabletype="">i</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <next>
                                                                          <block type="controls_if" id="Zh:.f2B^5Wis6nP,=:2_">
                                                                            <mutation else="1"></mutation>
                                                                            <value name="IF0">
                                                                              <block type="logic_compare" id="Pv]=`#mFy9;n=MvF+0Uu">
                                                                                <field name="OP">GT</field>
                                                                                <value name="A">
                                                                                  <block type="variables_get" id="Wc$%[WP/Vl+}q.%7rP?:">
                                                                                    <field name="VAR" id="M@vY4iKW?4Yz4zk:fvhN" variabletype="">i</field>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="B">
                                                                                  <block type="math_number" id="yWaM5=|?6fmfAn+pa0}b">
                                                                                    <field name="NUM">1</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                            <statement name="DO0">
                                                                              <block type="comment" id="@I)?HbfAeB8.D+{L.7^R">
                                                                                <field name="COMMENT">Zähler hochsetzen</field>
                                                                                <next>
                                                                                  <block type="variables_set" id="PLl.IGgWN^VSu+qMWQBm">
                                                                                    <field name="VAR" id="M@vY4iKW?4Yz4zk:fvhN" variabletype="">i</field>
                                                                                    <value name="VALUE">
                                                                                      <block type="math_arithmetic" id=")0TC_x$jFPN}Eiil0Y5A">
                                                                                        <field name="OP">MINUS</field>
                                                                                        <value name="A">
                                                                                          <shadow type="math_number" id="8w|AmSqK^Gc$]cL}GP`z">
                                                                                            <field name="NUM">1</field>
                                                                                          </shadow>
                                                                                          <block type="variables_get" id="J*z#1fOwEA_yc(`gcwSQ">
                                                                                            <field name="VAR" id="M@vY4iKW?4Yz4zk:fvhN" variabletype="">i</field>
                                                                                          </block>
                                                                                        </value>
                                                                                        <value name="B">
                                                                                          <shadow type="math_number" id="vYP3FsptQO+5Ta)7gH=Q">
                                                                                            <field name="NUM">1</field>
                                                                                          </shadow>
                                                                                          <block type="math_number" id="}d@uCToK(hQEwJGU56Kv">
                                                                                            <field name="NUM">1</field>
                                                                                          </block>
                                                                                        </value>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </next>
                                                                              </block>
                                                                            </statement>
                                                                            <statement name="ELSE">
                                                                              <block type="comment" id="^g.SU_eA5$A0{p?tu2a9">
                                                                                <field name="COMMENT">Zähler wieder auf 0</field>
                                                                                <next>
                                                                                  <block type="variables_set" id="rgq~$xg3UWX=7tnRXn?m">
                                                                                    <field name="VAR" id="M@vY4iKW?4Yz4zk:fvhN" variabletype="">i</field>
                                                                                    <value name="VALUE">
                                                                                      <block type="variables_get" id="imZ@fWW/8RP`LRzW@T6l">
                                                                                        <field name="VAR" id="Z)PVIbNs[VHy1eJxGaVC" variabletype="">imax</field>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </next>
                                                                              </block>
                                                                            </statement>
                                                                            <next>
                                                                              <block type="debug" id="I5v4?;jHw~Q{|Q{vYl-?">
                                                                                <field name="Severity">log</field>
                                                                                <value name="TEXT">
                                                                                  <shadow type="text" id="cnjr@2+bO]OP^LjK?`i:">
                                                                                    <field name="TEXT">test</field>
                                                                                  </shadow>
                                                                                  <block type="text_join" id="qp(.Wo@.ObH9nr0]UsBM">
                                                                                    <mutation items="2"></mutation>
                                                                                    <value name="ADD0">
                                                                                      <block type="text" id="0I5J}vp8gCYYjGESpL~,">
                                                                                        <field name="TEXT">Zähler i: </field>
                                                                                      </block>
                                                                                    </value>
                                                                                    <value name="ADD1">
                                                                                      <block type="variables_get" id="Cecqy{Tresw~7U)Iv]dm">
                                                                                        <field name="VAR" id="M@vY4iKW?4Yz4zk:fvhN" variabletype="">i</field>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </value>
                                                                                <next>
                                                                                  <block type="comment" id="KZCyvYC94n`6?:B+fXp]">
                                                                                    <field name="COMMENT">je nach click</field>
                                                                                    <next>
                                                                                      <block type="control" id="Z4ROtF=YoMF3V,T+|!G_">
                                                                                        <mutation delay_input="false"></mutation>
                                                                                        <field name="OID">zigbee.0.7cb03eaa00ac9855.color</field>
                                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                                        <value name="VALUE">
                                                                                          <block type="lists_getIndex" id="~%~pig945(I/|]5]EbYn">
                                                                                            <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="ArYJg-rO5f)VIJaZOzCI">
                                                                                                <field name="VAR" id="aeAIBpot/CpDoj_b-H7a" variabletype="">colorlist</field>
                                                                                              </block>
                                                                                            </value>
                                                                                            <value name="AT">
                                                                                              <block type="variables_get" id="d)lvatK~x,K1[$n]h}c4">
                                                                                                <field name="VAR" id="M@vY4iKW?4Yz4zk:fvhN" variabletype="">i</field>
                                                                                              </block>
                                                                                            </value>
                                                                                          </block>
                                                                                        </value>
                                                                                      </block>
                                                                                    </next>
                                                                                  </block>
                                                                                </next>
                                                                              </block>
                                                                            </next>
                                                                          </block>
                                                                        </next>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </statement>
                                                            <value name="IF3">
                                                              <block type="logic_compare" id="uqCp4$.+_tLOwR[11MYX">
                                                                <field name="OP">EQ</field>
                                                                <value name="A">
                                                                  <block type="get_value_var" id="`0fQaz;h-O;N*}B?7avP">
                                                                    <field name="ATTR">val</field>
                                                                    <value name="OID">
                                                                      <shadow type="text" id="UJOv;f?V4YF+v.tf4=3J">
                                                                        <field name="TEXT"></field>
                                                                      </shadow>
                                                                      <block type="field_oid" id="/V9u1,eQRb4CiT:[u{P,">
                                                                        <field name="oid">zigbee.1.90fd9ffffeff6a23.left_click</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="logic_boolean" id=",U}atk^f+.2zrk=mZ--Y">
                                                                    <field name="BOOL">TRUE</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <statement name="DO3">
                                                              <block type="comment" id="]./o7]kY|/[z5{ne_?YG">
                                                                <field name="COMMENT">Left Click event</field>
                                                                <next>
                                                                  <block type="debug" id="$y8iNR*t,,A0+Q#WaW|x">
                                                                    <field name="Severity">log</field>
                                                                    <value name="TEXT">
                                                                      <shadow type="text" id="?2+U5|G^vr0I|2wxq=GY">
                                                                        <field name="TEXT">test</field>
                                                                      </shadow>
                                                                      <block type="text" id="I?V-*b.GwP($df_-f=qM">
                                                                        <field name="TEXT">Left Click event</field>
                                                                      </block>
                                                                    </value>
                                                                    <next>
                                                                      <block type="debug" id="#+OW^ExK15{Nl8G?Z_qr">
                                                                        <field name="Severity">log</field>
                                                                        <value name="TEXT">
                                                                          <shadow type="text" id="cnjr@2+bO]OP^LjK?`i:">
                                                                            <field name="TEXT">test</field>
                                                                          </shadow>
                                                                          <block type="text_join" id=")VAXO^f$22^Nb`+fZ3};">
                                                                            <mutation items="2"></mutation>
                                                                            <value name="ADD0">
                                                                              <block type="text" id="26J|--K,sbmv=0Sa5cL{">
                                                                                <field name="TEXT">Zähler i: </field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="ADD1">
                                                                              <block type="variables_get" id="!mueG@C`~$oIo3yh|X9.">
                                                                                <field name="VAR" id="M@vY4iKW?4Yz4zk:fvhN" variabletype="">i</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <next>
                                                                          <block type="controls_if" id="UQ@~2*cOs`5IzqY|W-Xp">
                                                                            <mutation else="1"></mutation>
                                                                            <value name="IF0">
                                                                              <block type="logic_compare" id="Bf-oGOqhIpBP;GBzDSm(">
                                                                                <field name="OP">GT</field>
                                                                                <value name="A">
                                                                                  <block type="variables_get" id="G8*(E^{l@0,8=/(bTfQ%">
                                                                                    <field name="VAR" id="M@vY4iKW?4Yz4zk:fvhN" variabletype="">i</field>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="B">
                                                                                  <block type="math_number" id="Nt@]dryHY2I?SISV.8`~">
                                                                                    <field name="NUM">1</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                            <statement name="DO0">
                                                                              <block type="comment" id="6o.W4+Y]$|6sTY~Lj9xn">
                                                                                <field name="COMMENT">Zähler hochsetzen</field>
                                                                                <next>
                                                                                  <block type="variables_set" id="~(RF7Tb,+SgZ;[UmMGSB">
                                                                                    <field name="VAR" id="M@vY4iKW?4Yz4zk:fvhN" variabletype="">i</field>
                                                                                    <value name="VALUE">
                                                                                      <block type="math_arithmetic" id="3(nAfrqUz$XSpq@aZ@48">
                                                                                        <field name="OP">MINUS</field>
                                                                                        <value name="A">
                                                                                          <shadow type="math_number" id="8w|AmSqK^Gc$]cL}GP`z">
                                                                                            <field name="NUM">1</field>
                                                                                          </shadow>
                                                                                          <block type="variables_get" id="L%[Ay#7${uqt!5TKgPjO">
                                                                                            <field name="VAR" id="M@vY4iKW?4Yz4zk:fvhN" variabletype="">i</field>
                                                                                          </block>
                                                                                        </value>
                                                                                        <value name="B">
                                                                                          <shadow type="math_number" id="vYP3FsptQO+5Ta)7gH=Q">
                                                                                            <field name="NUM">1</field>
                                                                                          </shadow>
                                                                                          <block type="math_number" id="+q|M^Et%t{aeC-ibmvqJ">
                                                                                            <field name="NUM">1</field>
                                                                                          </block>
                                                                                        </value>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </next>
                                                                              </block>
                                                                            </statement>
                                                                            <statement name="ELSE">
                                                                              <block type="comment" id="_tL/Idc*N+F;!B,.xTL%">
                                                                                <field name="COMMENT">Zähler wieder auf 0</field>
                                                                                <next>
                                                                                  <block type="variables_set" id="bLQ;5A?Sh#OJ:fEByA~X">
                                                                                    <field name="VAR" id="M@vY4iKW?4Yz4zk:fvhN" variabletype="">i</field>
                                                                                    <value name="VALUE">
                                                                                      <block type="variables_get" id="!I!ypKxZEmbAYAQ`$K[W">
                                                                                        <field name="VAR" id="Z)PVIbNs[VHy1eJxGaVC" variabletype="">imax</field>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </next>
                                                                              </block>
                                                                            </statement>
                                                                            <next>
                                                                              <block type="debug" id="-g/Hy|7B{,n$|aG.P|R-">
                                                                                <field name="Severity">log</field>
                                                                                <value name="TEXT">
                                                                                  <shadow type="text" id="cnjr@2+bO]OP^LjK?`i:">
                                                                                    <field name="TEXT">test</field>
                                                                                  </shadow>
                                                                                  <block type="text_join" id="?:pzu7M*)QDC`m):|Bs6">
                                                                                    <mutation items="2"></mutation>
                                                                                    <value name="ADD0">
                                                                                      <block type="text" id="Pve{-e6Hqn@,Z13x3Y9)">
                                                                                        <field name="TEXT">Zähler i: </field>
                                                                                      </block>
                                                                                    </value>
                                                                                    <value name="ADD1">
                                                                                      <block type="variables_get" id="f(uU(,}bvvt{5BAp+MjP">
                                                                                        <field name="VAR" id="M@vY4iKW?4Yz4zk:fvhN" variabletype="">i</field>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </value>
                                                                                <next>
                                                                                  <block type="comment" id="c$HKEZ=a9,)Rnl(oY_lB">
                                                                                    <field name="COMMENT">je nach click</field>
                                                                                    <next>
                                                                                      <block type="control" id="gagFZ0k/,N@JY:8^SsLn">
                                                                                        <mutation delay_input="false"></mutation>
                                                                                        <field name="OID">zigbee.0.7cb03eaa00ac9855.color</field>
                                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                                        <value name="VALUE">
                                                                                          <block type="lists_getIndex" id="D+OwxbP0m/%^=@7L}%~]">
                                                                                            <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="Q,,XoQgt0O`cfHl$Vn;~">
                                                                                                <field name="VAR" id="aeAIBpot/CpDoj_b-H7a" variabletype="">colorlist</field>
                                                                                              </block>
                                                                                            </value>
                                                                                            <value name="AT">
                                                                                              <block type="variables_get" id="d]NNFdOvdcuWdUUJe^XE">
                                                                                                <field name="VAR" id="M@vY4iKW?4Yz4zk:fvhN" variabletype="">i</field>
                                                                                              </block>
                                                                                            </value>
                                                                                          </block>
                                                                                        </value>
                                                                                      </block>
                                                                                    </next>
                                                                                  </block>
                                                                                </next>
                                                                              </block>
                                                                            </next>
                                                                          </block>
                                                                        </next>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </statement>
                                                            <value name="IF4">
                                                              <block type="logic_compare" id="`^{Lk8;}fus))|-id0ne">
                                                                <field name="OP">EQ</field>
                                                                <value name="A">
                                                                  <block type="get_value_var" id="zymMtfgk2*:^,r8[h3gy">
                                                                    <field name="ATTR">val</field>
                                                                    <value name="OID">
                                                                      <shadow type="text" id="oV9z4f9I6G~Y?QwQ``SP">
                                                                        <field name="TEXT"></field>
                                                                      </shadow>
                                                                      <block type="field_oid" id="W5Q4fAOPy6)=uCMH?vJb">
                                                                        <field name="oid">zigbee.1.90fd9ffffeff6a23.right_button</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="logic_boolean" id="3dv|9I:U%7Py0gZ|0ZYm">
                                                                    <field name="BOOL">TRUE</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <statement name="DO4">
                                                              <block type="comment" id="M$MCp/J|LqXQDyWTU+uX">
                                                                <field name="COMMENT">Right Button event</field>
                                                                <next>
                                                                  <block type="debug" id="pS0fR7wg9{8}x(ZdNH0x">
                                                                    <field name="Severity">log</field>
                                                                    <value name="TEXT">
                                                                      <shadow type="text" id="?2+U5|G^vr0I|2wxq=GY">
                                                                        <field name="TEXT">test</field>
                                                                      </shadow>
                                                                      <block type="text" id="1=O25V`Bcku.-WWsr+F(">
                                                                        <field name="TEXT">Right Button event</field>
                                                                      </block>
                                                                    </value>
                                                                    <next>
                                                                      <block type="debug" id="k?CUaD_Nt?Ra2Mk0WHp3">
                                                                        <field name="Severity">log</field>
                                                                        <value name="TEXT">
                                                                          <shadow type="text" id="cnjr@2+bO]OP^LjK?`i:">
                                                                            <field name="TEXT">test</field>
                                                                          </shadow>
                                                                          <block type="text_join" id="!^!,H)4CvhA/4_%Rw)E/">
                                                                            <mutation items="2"></mutation>
                                                                            <value name="ADD0">
                                                                              <block type="text" id="n@@gKJnmtF_sXt$NL=u:">
                                                                                <field name="TEXT">Zähler i: </field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="ADD1">
                                                                              <block type="variables_get" id="^T9+3},6Bzy-adX[R4Ht">
                                                                                <field name="VAR" id="M@vY4iKW?4Yz4zk:fvhN" variabletype="">i</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <next>
                                                                          <block type="controls_if" id="Y)M):@qUL9I(PQD=1@@w">
                                                                            <mutation else="1"></mutation>
                                                                            <value name="IF0">
                                                                              <block type="logic_compare" id="{PrV5P1EK|U(UAh~g0s(">
                                                                                <field name="OP">LT</field>
                                                                                <value name="A">
                                                                                  <block type="variables_get" id="o@9I{XBc|=$.eOFRb(U*">
                                                                                    <field name="VAR" id="M@vY4iKW?4Yz4zk:fvhN" variabletype="">i</field>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="B">
                                                                                  <block type="variables_get" id="f%0iW|cCUVq.%%4sCKv:">
                                                                                    <field name="VAR" id="Z)PVIbNs[VHy1eJxGaVC" variabletype="">imax</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                            <statement name="DO0">
                                                                              <block type="comment" id="#MRbj]y:kHQRXcm[`EXa">
                                                                                <field name="COMMENT">Zähler hochsetzen</field>
                                                                                <next>
                                                                                  <block type="variables_set" id="m?%?B5MYdUn!Xwc^RuAY">
                                                                                    <field name="VAR" id="M@vY4iKW?4Yz4zk:fvhN" variabletype="">i</field>
                                                                                    <value name="VALUE">
                                                                                      <block type="math_arithmetic" id="j_iXvDo4cpjfx*!1gSz4">
                                                                                        <field name="OP">ADD</field>
                                                                                        <value name="A">
                                                                                          <shadow type="math_number" id="8w|AmSqK^Gc$]cL}GP`z">
                                                                                            <field name="NUM">1</field>
                                                                                          </shadow>
                                                                                          <block type="variables_get" id="#91yg#[jMw`uP7#uD3g1">
                                                                                            <field name="VAR" id="M@vY4iKW?4Yz4zk:fvhN" variabletype="">i</field>
                                                                                          </block>
                                                                                        </value>
                                                                                        <value name="B">
                                                                                          <shadow type="math_number" id="vYP3FsptQO+5Ta)7gH=Q">
                                                                                            <field name="NUM">1</field>
                                                                                          </shadow>
                                                                                          <block type="math_number" id="G)*G/G4V+qWk?)7bVLmN">
                                                                                            <field name="NUM">1</field>
                                                                                          </block>
                                                                                        </value>
                                                                                      </block>
                                                                                    </value>
                                                                                    <next>
                                                                                      <block type="debug" id="#K1lC@L^?($m%$n;sx04">
                                                                                        <field name="Severity">log</field>
                                                                                        <value name="TEXT">
                                                                                          <shadow type="text" id="cnjr@2+bO]OP^LjK?`i:">
                                                                                            <field name="TEXT">test</field>
                                                                                          </shadow>
                                                                                          <block type="text_join" id="j:Q}q@EG}3H-oSN;(0.E">
                                                                                            <mutation items="2"></mutation>
                                                                                            <value name="ADD0">
                                                                                              <block type="text" id="}N0/nH}4twR0i!Qw]~,6">
                                                                                                <field name="TEXT">Zähler i: </field>
                                                                                              </block>
                                                                                            </value>
                                                                                            <value name="ADD1">
                                                                                              <block type="variables_get" id="sQ_+rbA{*%]x@ar($Nza">
                                                                                                <field name="VAR" id="M@vY4iKW?4Yz4zk:fvhN" variabletype="">i</field>
                                                                                              </block>
                                                                                            </value>
                                                                                          </block>
                                                                                        </value>
                                                                                      </block>
                                                                                    </next>
                                                                                  </block>
                                                                                </next>
                                                                              </block>
                                                                            </statement>
                                                                            <statement name="ELSE">
                                                                              <block type="comment" id="y%LSXF_QAv9eFwCE=Ord">
                                                                                <field name="COMMENT">Zähler wieder auf 0</field>
                                                                                <next>
                                                                                  <block type="variables_set" id="pF5I$pCW{kd_$23j^8r1">
                                                                                    <field name="VAR" id="M@vY4iKW?4Yz4zk:fvhN" variabletype="">i</field>
                                                                                    <value name="VALUE">
                                                                                      <block type="math_number" id="yL/Ia?+XIbt_w#J,aai)">
                                                                                        <field name="NUM">1</field>
                                                                                      </block>
                                                                                    </value>
                                                                                    <next>
                                                                                      <block type="debug" id="w^|ioZ0PD!cT-A4E{zmD">
                                                                                        <field name="Severity">log</field>
                                                                                        <value name="TEXT">
                                                                                          <shadow type="text" id="cnjr@2+bO]OP^LjK?`i:">
                                                                                            <field name="TEXT">test</field>
                                                                                          </shadow>
                                                                                          <block type="text_join" id="xCVW/NrN5V[jx7f|qOt-">
                                                                                            <mutation items="2"></mutation>
                                                                                            <value name="ADD0">
                                                                                              <block type="text" id="n,/klx]*@Tz(9f5JOA3@">
                                                                                                <field name="TEXT">Zähler i: </field>
                                                                                              </block>
                                                                                            </value>
                                                                                            <value name="ADD1">
                                                                                              <block type="variables_get" id="e.*ZKi2#=x,A_D387-(9">
                                                                                                <field name="VAR" id="M@vY4iKW?4Yz4zk:fvhN" variabletype="">i</field>
                                                                                              </block>
                                                                                            </value>
                                                                                          </block>
                                                                                        </value>
                                                                                        <next>
                                                                                          <block type="comment" id="M]Tg9ejbV-X@KHft/;vS">
                                                                                            <field name="COMMENT">je nach click</field>
                                                                                          </block>
                                                                                        </next>
                                                                                      </block>
                                                                                    </next>
                                                                                  </block>
                                                                                </next>
                                                                              </block>
                                                                            </statement>
                                                                            <next>
                                                                              <block type="control" id="b9xE[L$})rNuzQY_G^B0">
                                                                                <mutation delay_input="false"></mutation>
                                                                                <field name="OID">zigbee.0.7cb03eaa00ac9855.color</field>
                                                                                <field name="WITH_DELAY">FALSE</field>
                                                                                <value name="VALUE">
                                                                                  <block type="lists_getIndex" id="$Vg#P1-`vE+@F;`Dw3@^">
                                                                                    <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="Re/xbvlM$p/s4(HSxI{i">
                                                                                        <field name="VAR" id="aeAIBpot/CpDoj_b-H7a" variabletype="">colorlist</field>
                                                                                      </block>
                                                                                    </value>
                                                                                    <value name="AT">
                                                                                      <block type="variables_get" id="bJ`-ZUu:/2nR~.,+{7ow">
                                                                                        <field name="VAR" id="M@vY4iKW?4Yz4zk:fvhN" variabletype="">i</field>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </next>
                                                                          </block>
                                                                        </next>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </statement>
                                                            <value name="IF5">
                                                              <block type="logic_compare" id="U:c:%MYryhS}}}-BG$FT">
                                                                <field name="OP">EQ</field>
                                                                <value name="A">
                                                                  <block type="get_value_var" id="W=_`Y2/TRu.toG=$F,x;">
                                                                    <field name="ATTR">val</field>
                                                                    <value name="OID">
                                                                      <shadow type="text" id="_5EMK9!Pwb^j/sg8tMYv">
                                                                        <field name="TEXT"></field>
                                                                      </shadow>
                                                                      <block type="field_oid" id="_lvdV^+]hcrR+F6$dx4@">
                                                                        <field name="oid">zigbee.1.90fd9ffffeff6a23.right_click</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="logic_boolean" id="pqsa;W)Vb^debomGsgTs">
                                                                    <field name="BOOL">TRUE</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <statement name="DO5">
                                                              <block type="comment" id="=*T5?Ki:l;c0AU.X~EMl">
                                                                <field name="COMMENT">Right Click event</field>
                                                                <next>
                                                                  <block type="debug" id="l/R4~M`aD3on]T?[jk1;">
                                                                    <field name="Severity">log</field>
                                                                    <value name="TEXT">
                                                                      <shadow type="text" id="?2+U5|G^vr0I|2wxq=GY">
                                                                        <field name="TEXT">test</field>
                                                                      </shadow>
                                                                      <block type="text" id="7iyI_#GOavrmBnS:P~_y">
                                                                        <field name="TEXT">Right Click event</field>
                                                                      </block>
                                                                    </value>
                                                                    <next>
                                                                      <block type="debug" id="P()7zgHSxtc!9R!~x9/A">
                                                                        <field name="Severity">log</field>
                                                                        <value name="TEXT">
                                                                          <shadow type="text" id="cnjr@2+bO]OP^LjK?`i:">
                                                                            <field name="TEXT">test</field>
                                                                          </shadow>
                                                                          <block type="text_join" id="uZw_DUqGVg4::?1q1nUR">
                                                                            <mutation items="2"></mutation>
                                                                            <value name="ADD0">
                                                                              <block type="text" id="H+GZ/k|AkLaXa_VPqK]G">
                                                                                <field name="TEXT">Zähler i: </field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="ADD1">
                                                                              <block type="variables_get" id="V+,7lO`B1`jwNUoMRPsA">
                                                                                <field name="VAR" id="M@vY4iKW?4Yz4zk:fvhN" variabletype="">i</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <next>
                                                                          <block type="controls_if" id="t#W?(nBg!wM|co-`y*ub">
                                                                            <mutation else="1"></mutation>
                                                                            <value name="IF0">
                                                                              <block type="logic_compare" id="GgxDhV`m48V^?CN2IZPh">
                                                                                <field name="OP">LT</field>
                                                                                <value name="A">
                                                                                  <block type="variables_get" id="7{Sv+U54yjaPK#6MUrzL">
                                                                                    <field name="VAR" id="M@vY4iKW?4Yz4zk:fvhN" variabletype="">i</field>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="B">
                                                                                  <block type="variables_get" id="+7*-DdP4kbG}_N*J4I]J">
                                                                                    <field name="VAR" id="Z)PVIbNs[VHy1eJxGaVC" variabletype="">imax</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                            <statement name="DO0">
                                                                              <block type="comment" id="IOtHhCyKRc}GH(bX~awf">
                                                                                <field name="COMMENT">Zähler hochsetzen</field>
                                                                                <next>
                                                                                  <block type="variables_set" id="bq0=v:47Vy`GVK~!%*W^">
                                                                                    <field name="VAR" id="M@vY4iKW?4Yz4zk:fvhN" variabletype="">i</field>
                                                                                    <value name="VALUE">
                                                                                      <block type="math_arithmetic" id="I_3==HZtJPyAi|*.F?Ba">
                                                                                        <field name="OP">ADD</field>
                                                                                        <value name="A">
                                                                                          <shadow type="math_number" id="8w|AmSqK^Gc$]cL}GP`z">
                                                                                            <field name="NUM">1</field>
                                                                                          </shadow>
                                                                                          <block type="variables_get" id="J30?ncUdzK`Sn%fV0T@i">
                                                                                            <field name="VAR" id="M@vY4iKW?4Yz4zk:fvhN" variabletype="">i</field>
                                                                                          </block>
                                                                                        </value>
                                                                                        <value name="B">
                                                                                          <shadow type="math_number" id="vYP3FsptQO+5Ta)7gH=Q">
                                                                                            <field name="NUM">1</field>
                                                                                          </shadow>
                                                                                          <block type="math_number" id=")v:=DRZq2{4h,*m:W*DB">
                                                                                            <field name="NUM">1</field>
                                                                                          </block>
                                                                                        </value>
                                                                                      </block>
                                                                                    </value>
                                                                                    <next>
                                                                                      <block type="debug" id="wW0c;I=pZn3y8YIq;j62">
                                                                                        <field name="Severity">log</field>
                                                                                        <value name="TEXT">
                                                                                          <shadow type="text" id="cnjr@2+bO]OP^LjK?`i:">
                                                                                            <field name="TEXT">test</field>
                                                                                          </shadow>
                                                                                          <block type="text_join" id="$+~a12*+(mvUd|L|Ml2r">
                                                                                            <mutation items="2"></mutation>
                                                                                            <value name="ADD0">
                                                                                              <block type="text" id="tffL4v`7Ed1BKB1;tA3O">
                                                                                                <field name="TEXT">Zähler i: </field>
                                                                                              </block>
                                                                                            </value>
                                                                                            <value name="ADD1">
                                                                                              <block type="variables_get" id="59nsqBEpIhXGz/3EoSL?">
                                                                                                <field name="VAR" id="M@vY4iKW?4Yz4zk:fvhN" variabletype="">i</field>
                                                                                              </block>
                                                                                            </value>
                                                                                          </block>
                                                                                        </value>
                                                                                      </block>
                                                                                    </next>
                                                                                  </block>
                                                                                </next>
                                                                              </block>
                                                                            </statement>
                                                                            <statement name="ELSE">
                                                                              <block type="comment" id="K|TAmR[l!xit70kj%HCR">
                                                                                <field name="COMMENT">Zähler wieder auf 0</field>
                                                                                <next>
                                                                                  <block type="variables_set" id="W$C|oB~-IDq14PfyIbN3">
                                                                                    <field name="VAR" id="M@vY4iKW?4Yz4zk:fvhN" variabletype="">i</field>
                                                                                    <value name="VALUE">
                                                                                      <block type="math_number" id="@ito#5##[R$Ryv_g=*o1">
                                                                                        <field name="NUM">1</field>
                                                                                      </block>
                                                                                    </value>
                                                                                    <next>
                                                                                      <block type="debug" id="L%11MO=IQCkkmVWV/}FP">
                                                                                        <field name="Severity">log</field>
                                                                                        <value name="TEXT">
                                                                                          <shadow type="text" id="cnjr@2+bO]OP^LjK?`i:">
                                                                                            <field name="TEXT">test</field>
                                                                                          </shadow>
                                                                                          <block type="text_join" id="({~d|#w3:=]b8yG/IVm[">
                                                                                            <mutation items="2"></mutation>
                                                                                            <value name="ADD0">
                                                                                              <block type="text" id="NvKz%h!RsGK$fuiYLbQx">
                                                                                                <field name="TEXT">Zähler i: </field>
                                                                                              </block>
                                                                                            </value>
                                                                                            <value name="ADD1">
                                                                                              <block type="variables_get" id="mZAPV5ZI;Ve{3WmSfCWp">
                                                                                                <field name="VAR" id="M@vY4iKW?4Yz4zk:fvhN" variabletype="">i</field>
                                                                                              </block>
                                                                                            </value>
                                                                                          </block>
                                                                                        </value>
                                                                                        <next>
                                                                                          <block type="comment" id="YB$owV240vq+1%l@Y#I7">
                                                                                            <field name="COMMENT">je nach click</field>
                                                                                          </block>
                                                                                        </next>
                                                                                      </block>
                                                                                    </next>
                                                                                  </block>
                                                                                </next>
                                                                              </block>
                                                                            </statement>
                                                                            <next>
                                                                              <block type="control" id="}:cOpX}Cf1~bm93ijVj0">
                                                                                <mutation delay_input="false"></mutation>
                                                                                <field name="OID">zigbee.0.7cb03eaa00ac9855.color</field>
                                                                                <field name="WITH_DELAY">FALSE</field>
                                                                                <value name="VALUE">
                                                                                  <block type="lists_getIndex" id="pW87U?hl(7:fuKs}Wh`|">
                                                                                    <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="g$IJ?n/x!1`MuoL(N2iU">
                                                                                        <field name="VAR" id="aeAIBpot/CpDoj_b-H7a" variabletype="">colorlist</field>
                                                                                      </block>
                                                                                    </value>
                                                                                    <value name="AT">
                                                                                      <block type="variables_get" id="NscH-+5Ir3Lyv.xo4O7o">
                                                                                        <field name="VAR" id="M@vY4iKW?4Yz4zk:fvhN" variabletype="">i</field>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </next>
                                                                          </block>
                                                                        </next>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </statement>
                                                            <value name="IF6">
                                                              <block type="logic_compare" id="u#U0iGDI]Q0WdSO975Vd">
                                                                <field name="OP">EQ</field>
                                                                <value name="A">
                                                                  <block type="get_value_var" id="^Yk~uID:k2Mu][?k5o!z">
                                                                    <field name="ATTR">val</field>
                                                                    <value name="OID">
                                                                      <shadow type="text" id="0zYmYjcA/RwWc]eFEpF4">
                                                                        <field name="TEXT"></field>
                                                                      </shadow>
                                                                      <block type="field_oid" id="JXw^FhQ8V/m|+/:fA1:Z">
                                                                        <field name="oid">zigbee.1.90fd9ffffeff6a23.toggle</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="logic_boolean" id="$`S`V60/sR:i`t|r([K6">
                                                                    <field name="BOOL">TRUE</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <statement name="DO6">
                                                              <block type="comment" id="?mTGx#U(Lx1$Y9;BSMii">
                                                                <field name="COMMENT">Toggle event</field>
                                                                <next>
                                                                  <block type="debug" id="9hQu^wBNS,#{9;K-*6f2">
                                                                    <field name="Severity">log</field>
                                                                    <value name="TEXT">
                                                                      <shadow type="text" id="?2+U5|G^vr0I|2wxq=GY">
                                                                        <field name="TEXT">test</field>
                                                                      </shadow>
                                                                      <block type="text" id="n@JTKVuRl,g)1u;hf1R5">
                                                                        <field name="TEXT">Toggle event</field>
                                                                      </block>
                                                                    </value>
                                                                    <next>
                                                                      <block type="controls_if" id="sd6z**#}.5eFu9$5,i0u">
                                                                        <mutation else="1"></mutation>
                                                                        <value name="IF0">
                                                                          <block type="logic_operation" id="y7f,t,03peEr#Zjz53bA">
                                                                            <field name="OP">OR</field>
                                                                            <value name="A">
                                                                              <block type="logic_compare" id="W++N$e|jlQW_62V+.u#B">
                                                                                <field name="OP">EQ</field>
                                                                                <value name="A">
                                                                                  <block type="get_value_var" id="a},n;~t@YY%Sq?7VZP(F">
                                                                                    <field name="ATTR">val</field>
                                                                                    <value name="OID">
                                                                                      <shadow type="text" id="0zYmYjcA/RwWc]eFEpF4">
                                                                                        <field name="TEXT"></field>
                                                                                      </shadow>
                                                                                      <block type="field_oid" id="p02`p@rf5qXQ}m=#yz#=">
                                                                                        <field name="oid">zigbee.0.7cb03eaa00ac9855.brightness</field>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="B">
                                                                                  <block type="math_number" id="/wP?oel*}rMpvLgA:C:v">
                                                                                    <field name="NUM">0</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                            <value name="B">
                                                                              <block type="logic_compare" id="A21-Pkp2FV#3!nQ@/:f0">
                                                                                <field name="OP">EQ</field>
                                                                                <value name="A">
                                                                                  <block type="get_value_var" id="?.H@s2~xyP01h)=/Ahs0">
                                                                                    <field name="ATTR">val</field>
                                                                                    <value name="OID">
                                                                                      <shadow type="text" id="Y`[6*Y)OFx$nWY0DIFN8">
                                                                                        <field name="TEXT"></field>
                                                                                      </shadow>
                                                                                      <block type="field_oid" id="M(J.eYdTlOHIGFOI?sg-">
                                                                                        <field name="oid">zigbee.0.7cb03eaa00ac9855.state</field>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="B">
                                                                                  <block type="logic_boolean" id="{X2l.!(]d;|a(Qu6]]|F">
                                                                                    <field name="BOOL">FALSE</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <statement name="DO0">
                                                                          <block type="comment" id="+sHU?LoA$3i1BEU3VHd$">
                                                                            <field name="COMMENT">falls Licht aus - an</field>
                                                                            <next>
                                                                              <block type="debug" id="4kt;3MP|7%VD.A=7IDOi">
                                                                                <field name="Severity">log</field>
                                                                                <value name="TEXT">
                                                                                  <shadow type="text" id="X{k@;dRsaw83j!|7~ZQ:">
                                                                                    <field name="TEXT">Lesezimmer an</field>
                                                                                  </shadow>
                                                                                </value>
                                                                                <next>
                                                                                  <block type="control" id="B@yw,jdrNEx0sr~qDZ^{">
                                                                                    <mutation delay_input="false"></mutation>
                                                                                    <field name="OID">zigbee.0.7cb03eaa00ac9855.state</field>
                                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                                    <value name="VALUE">
                                                                                      <block type="logic_boolean" id="_k|+#LWhn0fkQ5WV064-">
                                                                                        <field name="BOOL">TRUE</field>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </next>
                                                                              </block>
                                                                            </next>
                                                                          </block>
                                                                        </statement>
                                                                        <statement name="ELSE">
                                                                          <block type="comment" id="0a]k=g{KNs6oE_6S13*.">
                                                                            <field name="COMMENT">Licht aus</field>
                                                                            <next>
                                                                              <block type="debug" id="=)h:`.,CjBseg@*L[(VD">
                                                                                <field name="Severity">log</field>
                                                                                <value name="TEXT">
                                                                                  <shadow type="text" id="1)x|Y3jO[@j:]:@NUYk5">
                                                                                    <field name="TEXT">Lesezimmer aus</field>
                                                                                  </shadow>
                                                                                </value>
                                                                                <next>
                                                                                  <block type="control" id="{R{JU(]FM({:/MPTE_q)">
                                                                                    <mutation delay_input="false"></mutation>
                                                                                    <field name="OID">zigbee.0.7cb03eaa00ac9855.state</field>
                                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                                    <value name="VALUE">
                                                                                      <block type="logic_boolean" id="P`szv|GD-jlu*!UcPwVf">
                                                                                        <field name="BOOL">FALSE</field>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </next>
                                                                              </block>
                                                                            </next>
                                                                          </block>
                                                                        </statement>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </statement>
                                                            <value name="IF7">
                                                              <block type="logic_compare" id="_^~AMV^*))g}`3Z)ZoQQ">
                                                                <field name="OP">EQ</field>
                                                                <value name="A">
                                                                  <block type="get_value_var" id="bkfyxyaHLA7orNKsy#v,">
                                                                    <field name="ATTR">val</field>
                                                                    <value name="OID">
                                                                      <shadow type="text" id="[UgzRnVk05::+-MO%c)-">
                                                                        <field name="TEXT"></field>
                                                                      </shadow>
                                                                      <block type="field_oid" id="FPgM)d~WFWb.7CgGX5F(">
                                                                        <field name="oid">zigbee.1.90fd9ffffeff6a23.up_button</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="logic_boolean" id="/_~sxjBQ@nSO9xz,7*rF">
                                                                    <field name="BOOL">TRUE</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <statement name="DO7">
                                                              <block type="comment" id="@6)+tPyh3r)8Y[D$YEWN">
                                                                <field name="COMMENT">Up Button event</field>
                                                                <next>
                                                                  <block type="debug" id="o%u^B5vCbe,=H68x.nz}">
                                                                    <field name="Severity">log</field>
                                                                    <value name="TEXT">
                                                                      <shadow type="text" id="?2+U5|G^vr0I|2wxq=GY">
                                                                        <field name="TEXT">test</field>
                                                                      </shadow>
                                                                      <block type="text" id="u@E]8|}gJNkUj81lb-//">
                                                                        <field name="TEXT">Up Button event</field>
                                                                      </block>
                                                                    </value>
                                                                    <next>
                                                                      <block type="controls_if" id="vSyzwa/^A{||Y3UEi}Rv">
                                                                        <mutation else="1"></mutation>
                                                                        <value name="IF0">
                                                                          <block type="logic_compare" id="~;L+xP3ZG%-WCt`s3|Z[">
                                                                            <field name="OP">LTE</field>
                                                                            <value name="A">
                                                                              <block type="variables_get" id="ljx`X^,T!U50V+aI.$yk">
                                                                                <field name="VAR" id="d[ynGc@.W9Zus;}p%Q==" variabletype="">brightness</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="B">
                                                                              <block type="math_number" id="Axbd7efHyPp;ECx(!2tO">
                                                                                <field name="NUM">89</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <statement name="DO0">
                                                                          <block type="math_change" id="R^/?G:P/eJuuAQYKSZnj">
                                                                            <field name="VAR" id="d[ynGc@.W9Zus;}p%Q==" variabletype="">brightness</field>
                                                                            <value name="DELTA">
                                                                              <shadow type="math_number" id="Q|i#*C.MFR.%;)cej0@u">
                                                                                <field name="NUM">0</field>
                                                                              </shadow>
                                                                              <block type="math_number" id="u301t+AUm|E]6]:,GAMk">
                                                                                <field name="NUM">10</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </statement>
                                                                        <statement name="ELSE">
                                                                          <block type="variables_set" id="%9#bm:6NZEuEF$}tj+^u">
                                                                            <field name="VAR" id="d[ynGc@.W9Zus;}p%Q==" variabletype="">brightness</field>
                                                                            <value name="VALUE">
                                                                              <block type="math_number" id="A[_~loYoKymAB1a%)gOm">
                                                                                <field name="NUM">99</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </statement>
                                                                        <next>
                                                                          <block type="debug" id="o#.q!nJF~X98k0@:e]o?">
                                                                            <field name="Severity">log</field>
                                                                            <value name="TEXT">
                                                                              <shadow type="text" id="cnjr@2+bO]OP^LjK?`i:">
                                                                                <field name="TEXT">test</field>
                                                                              </shadow>
                                                                              <block type="text_join" id="SItcsiE[v1rL^SAL2ac[">
                                                                                <mutation items="2"></mutation>
                                                                                <value name="ADD0">
                                                                                  <block type="text" id=";6zi-Uk@EP^9:rT[Ec0;">
                                                                                    <field name="TEXT">brightness: </field>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="ADD1">
                                                                                  <block type="variables_get" id="8oj@z`p{6l{}V/+JoRY;">
                                                                                    <field name="VAR" id="d[ynGc@.W9Zus;}p%Q==" variabletype="">brightness</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                            <next>
                                                                              <block type="control" id="iz$E_hCfgJ{/Y/{*(gwt">
                                                                                <mutation delay_input="false"></mutation>
                                                                                <field name="OID">zigbee.0.7cb03eaa00ac9855.brightness</field>
                                                                                <field name="WITH_DELAY">FALSE</field>
                                                                                <value name="VALUE">
                                                                                  <block type="variables_get" id="k4oLZ#{4Hyc^2eQs79{`">
                                                                                    <field name="VAR" id="d[ynGc@.W9Zus;}p%Q==" variabletype="">brightness</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </next>
                                                                          </block>
                                                                        </next>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </statement>
                                                            <value name="IF8">
                                                              <block type="logic_compare" id="8^YNoJ5hXZ}X_.,LMy^q">
                                                                <field name="OP">EQ</field>
                                                                <value name="A">
                                                                  <block type="get_value_var" id="cmtLz%Jll{n,`-^%iMaH">
                                                                    <field name="ATTR">val</field>
                                                                    <value name="OID">
                                                                      <shadow type="text" id="FUV=56;BVO?u~L[|S9/Y">
                                                                        <field name="TEXT"></field>
                                                                      </shadow>
                                                                      <block type="field_oid" id="!9(N3i.WW/V-^-4wct,w">
                                                                        <field name="oid">zigbee.1.90fd9ffffeff6a23.up_click</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="logic_boolean" id="VfhgD%80KN(k9Z%z?G7k">
                                                                    <field name="BOOL">TRUE</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <statement name="DO8">
                                                              <block type="comment" id="~R`r91k=U,D;Mo1g#(2J">
                                                                <field name="COMMENT">Up Click event</field>
                                                                <next>
                                                                  <block type="debug" id="E}N%~Ja,MOp+WAQJpQ1)">
                                                                    <field name="Severity">log</field>
                                                                    <value name="TEXT">
                                                                      <shadow type="text" id="?2+U5|G^vr0I|2wxq=GY">
                                                                        <field name="TEXT">test</field>
                                                                      </shadow>
                                                                      <block type="text" id="48[s4._s6ijW/v(Y{,=l">
                                                                        <field name="TEXT">Up Click event</field>
                                                                      </block>
                                                                    </value>
                                                                    <next>
                                                                      <block type="controls_if" id="qM5ZJ3[oRN!0lq:+skz@">
                                                                        <mutation else="1"></mutation>
                                                                        <value name="IF0">
                                                                          <block type="logic_compare" id="osT3JiI3:gcI1gR9CQN[">
                                                                            <field name="OP">LTE</field>
                                                                            <value name="A">
                                                                              <block type="variables_get" id="fHhbZMTwMdGtO@O|M[|H">
                                                                                <field name="VAR" id="d[ynGc@.W9Zus;}p%Q==" variabletype="">brightness</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="B">
                                                                              <block type="math_number" id="BMd2l_r7e+)1rU)o|000">
                                                                                <field name="NUM">89</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <statement name="DO0">
                                                                          <block type="math_change" id="GCm-dhO`)o@[y2_@eCyz">
                                                                            <field name="VAR" id="d[ynGc@.W9Zus;}p%Q==" variabletype="">brightness</field>
                                                                            <value name="DELTA">
                                                                              <shadow type="math_number" id="Q|i#*C.MFR.%;)cej0@u">
                                                                                <field name="NUM">0</field>
                                                                              </shadow>
                                                                              <block type="math_number" id="hyO2r%4u(fe{85Dz+L+|">
                                                                                <field name="NUM">10</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </statement>
                                                                        <statement name="ELSE">
                                                                          <block type="variables_set" id="5)K*xWo=L)O)JgiuvFp`">
                                                                            <field name="VAR" id="d[ynGc@.W9Zus;}p%Q==" variabletype="">brightness</field>
                                                                            <value name="VALUE">
                                                                              <block type="math_number" id="~@$C-)1,DL:BH6|H#kN=">
                                                                                <field name="NUM">99</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </statement>
                                                                        <next>
                                                                          <block type="debug" id="!0AR{[Lq!)MBdEtZ)Rfa">
                                                                            <field name="Severity">log</field>
                                                                            <value name="TEXT">
                                                                              <shadow type="text" id="cnjr@2+bO]OP^LjK?`i:">
                                                                                <field name="TEXT">test</field>
                                                                              </shadow>
                                                                              <block type="text_join" id="CgG+c91lPOjNoEjZeAAJ">
                                                                                <mutation items="2"></mutation>
                                                                                <value name="ADD0">
                                                                                  <block type="text" id="Q^qIb*FP!Tb!@8)Y(5iK">
                                                                                    <field name="TEXT">brightness: </field>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="ADD1">
                                                                                  <block type="variables_get" id="A-eFdI%%fg1BPT.^EoMk">
                                                                                    <field name="VAR" id="d[ynGc@.W9Zus;}p%Q==" variabletype="">brightness</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                            <next>
                                                                              <block type="control" id="XX6ctoP4B{HOKNj^;(YU">
                                                                                <mutation delay_input="false"></mutation>
                                                                                <field name="OID">zigbee.0.7cb03eaa00ac9855.brightness</field>
                                                                                <field name="WITH_DELAY">FALSE</field>
                                                                                <value name="VALUE">
                                                                                  <block type="variables_get" id="YOTs6$6=NdhPBQZ1$o%n">
                                                                                    <field name="VAR" id="d[ynGc@.W9Zus;}p%Q==" variabletype="">brightness</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </next>
                                                                          </block>
                                                                        </next>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </statement>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </statement>
                                            <next>
                                              <block type="comment" id="[!S_tN^A(v)AOZ^Y,n8s">
                                                <field name="COMMENT">Ende Überwachung der IKEA Schalter/Dimmer Script</field>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </next>
  </block>
</xml>
