<xml xmlns="http://www.w3.org/1999/xhtml">
  <block type="on_ext" id="55@yN/Bd.4.Zl:.QX]zj" x="-1432" y="-707">
    <mutation items="1"></mutation>
    <field name="CONDITION">ne</field>
    <field name="ACK_CONDITION"></field>
    <value name="OID0">
      <shadow type="field_oid" id="W^r22S90au(LBao+qr~s">
        <field name="oid">harmony.0.Wohnzimmer.activities.currentActivity</field>
      </shadow>
    </value>
    <statement name="STATEMENT">
      <block type="controls_if" id="BHRn[yZNyldRzla7iWi7">
        <mutation elseif="1"></mutation>
        <value name="IF0">
          <block type="logic_operation" id="`3b*:m%B;)Z|%[yS.!X-" inline="false">
            <field name="OP">AND</field>
            <value name="A">
              <block type="logic_compare" id="a.!@QQ{sxBt+f{s?0Ynw">
                <field name="OP">LTE</field>
                <value name="A">
                  <block type="get_value" id="4N*=@XZ|+)J/p)S*8T`1">
                    <field name="ATTR">val</field>
                    <field name="OID">hm-rpc.0.000BD5699D4868.1.ILLUMINATION</field>
                  </block>
                </value>
                <value name="B">
                  <block type="math_number" id="Knld,wT8[?c4ib4aorSg">
                    <field name="NUM">275</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="B">
              <block type="logic_operation" id="h%Dxc4+M54+:Y,ZSS!*K" inline="false">
                <field name="OP">OR</field>
                <value name="A">
                  <block type="logic_operation" id="zurUC)rk{`P`7/7dxFyR" inline="false">
                    <field name="OP">OR</field>
                    <value name="A">
                      <block type="logic_operation" id="2`[;wc8`kHJlgt/2Za[i" inline="false">
                        <field name="OP">OR</field>
                        <value name="A">
                          <block type="logic_compare" id="xj!*G`B.;)@@I^.VIQr!">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="get_value" id="PinJXaZljMe?g,F|^]E{">
                                <field name="ATTR">val</field>
                                <field name="OID">harmony.0.Wohnzimmer.activities.currentActivity</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="text" id="51kxO(lGG8,.N0A6^@Rv">
                                <field name="TEXT">BluRay</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_compare" id="4@@0H/HRU6sfS9G*W^}E">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="get_value" id="j[Q[;G#%(tu4KA~[x7r%">
                                <field name="ATTR">val</field>
                                <field name="OID">harmony.0.Wohnzimmer.activities.currentActivity</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="text" id="3P5#TeYK[-xPSz3cV^aF">
                                <field name="TEXT">Fernsehen</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_compare" id="Fb5kAxo|eKv)P]|S72RS">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="get_value" id="_0Ayg286*}@iK@@WN%dk">
                            <field name="ATTR">val</field>
                            <field name="OID">harmony.0.Wohnzimmer.activities.currentActivity</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="text" id="woz(;%so1[)7d60NAqQX">
                            <field name="TEXT">Kino</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_operation" id="Gh`=0F4U%hf~~l7er{(;" inline="false">
                    <field name="OP">OR</field>
                    <value name="A">
                      <block type="logic_compare" id="|uMJ#1pX=_4[jy(5qyaE">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="get_value" id="m)G%c1yy6skVfbi9F74q">
                            <field name="ATTR">val</field>
                            <field name="OID">harmony.0.Wohnzimmer.activities.currentActivity</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="text" id="#kMhr(+(Mk+A@v9rU]^_">
                            <field name="TEXT">Musik</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_compare" id="z[/k,V7bq~gnLCkdvD9y">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="get_value" id="|8pT+HunZKa+,BjpF7x1">
                            <field name="ATTR">val</field>
                            <field name="OID">harmony.0.Wohnzimmer.activities.currentActivity</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="text" id="k04791`EPUsVdtW?tvkM">
                            <field name="TEXT">Musik mit Verstaerker</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="comment" id="]ihiXM{AQ1n4Zd@JWyzJ">
            <field name="COMMENT">TV System Wohnzimmer an</field>
            <next>
              <block type="control" id="*M]#SFj-0gE[Q}k9M(l~">
                <mutation delay_input="false"></mutation>
                <field name="OID">hue.0.HueBridge.Fernsehlampe_links.command</field>
                <field name="WITH_DELAY">FALSE</field>
                <value name="VALUE">
                  <block type="text" id="w8Q^kn0`oY}}^i,=!cIy">
                    <field name="TEXT">{"on":true,"transitiontime":15}</field>
                  </block>
                </value>
                <next>
                  <block type="control" id="-6jM*M75?XM{5+2/5h|F">
                    <mutation delay_input="false"></mutation>
                    <field name="OID">hue.0.HueBridge.Fernsehlampe_rechts.command</field>
                    <field name="WITH_DELAY">FALSE</field>
                    <value name="VALUE">
                      <block type="text" id="/0QMpv*(8@RA2ga43kNj">
                        <field name="TEXT">{"on":true,"transitiontime":15}</field>
                      </block>
                    </value>
                    <next>
                      <block type="control" id="QI.sI|sL5+1]S=g~G:-n">
                        <mutation delay_input="false"></mutation>
                        <field name="OID">hue.0.HueBridge.Sofalampe_links.command</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="text" id="Uh+t..^C2@N_cLtZjx8m">
                            <field name="TEXT">{"on":true,"transitiontime":15}</field>
                          </block>
                        </value>
                        <next>
                          <block type="control" id="wPHLZaP[(AXjY+p/ks.,">
                            <mutation delay_input="false"></mutation>
                            <field name="OID">hue.0.HueBridge.Sofalampe_rechts.command</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="text" id="hz@4Qy1hsL:dc@7fz-^D">
                                <field name="TEXT">{"on":true,"transitiontime":15}</field>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
        <value name="IF1">
          <block type="logic_compare" id="mZ(e!y%u;zBr`EDNt^eA">
            <field name="OP">EQ</field>
            <value name="A">
              <block type="get_value" id="ee4@`gm#qB1`kCGgN5kS">
                <field name="ATTR">val</field>
                <field name="OID">harmony.0.Wohnzimmer.activities.currentActivity</field>
              </block>
            </value>
            <value name="B">
              <block type="text" id="2`knFCf/j_/RI`idAwYS">
                <field name="TEXT">PowerOff</field>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO1">
          <block type="comment" id="C!d.+KxPoVc}6PEb?lc5">
            <field name="COMMENT">TV System Wohnzimmer aus</field>
            <next>
              <block type="control" id="`iYsh+k5FEf#Ms@d99Y(">
                <mutation delay_input="false"></mutation>
                <field name="OID">hue.0.HueBridge.Fernsehlampe_links.command</field>
                <field name="WITH_DELAY">FALSE</field>
                <value name="VALUE">
                  <block type="text" id="70gqv-YoRf_F0cH@)?}I">
                    <field name="TEXT">{"on":false,"transitiontime":80}</field>
                  </block>
                </value>
                <next>
                  <block type="control" id="!/?03pV_t`2d;CoL=g*2">
                    <mutation delay_input="false"></mutation>
                    <field name="OID">hue.0.HueBridge.Fernsehlampe_rechts.command</field>
                    <field name="WITH_DELAY">FALSE</field>
                    <value name="VALUE">
                      <block type="text" id="8cQWrM+t(qB}V~9W})O*">
                        <field name="TEXT">{"on":false,"transitiontime":80}</field>
                      </block>
                    </value>
                    <next>
                      <block type="control" id="uSf,-cjj0RWH^tAT}@lo">
                        <mutation delay_input="false"></mutation>
                        <field name="OID">hue.0.HueBridge.Sofalampe_links.command</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="text" id="2RT^y;I#)yn_4ccMW)_Q">
                            <field name="TEXT">{"on":false,"transitiontime":80}</field>
                          </block>
                        </value>
                        <next>
                          <block type="control" id="iqTSvh]]_KBO+;=ku%;w">
                            <mutation delay_input="false"></mutation>
                            <field name="OID">hue.0.HueBridge.Sofalampe_rechts.command</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="text" id="Jb%eId72Bm)wU98,Thta">
                                <field name="TEXT">{"on":false,"transitiontime":80}</field>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
      </block>
    </statement>
  </block>
  <block type="on_ext" id="g@SDiyxr,4+?}Gr*3/#M" x="-1438" y="38">
    <mutation items="1"></mutation>
    <field name="CONDITION">ne</field>
    <field name="ACK_CONDITION"></field>
    <value name="OID0">
      <shadow type="field_oid" id="zW1m0qyRn?{.@5%@pVak">
        <field name="oid">harmony.0.Schlafzimmer.activities.currentActivity</field>
      </shadow>
    </value>
    <statement name="STATEMENT">
      <block type="controls_if" id="S%,5qiJYrE#DJSLMIKwM">
        <mutation elseif="1"></mutation>
        <value name="IF0">
          <block type="logic_operation" id="|~UGg+Kp,yL[l*toxP0~" inline="false">
            <field name="OP">AND</field>
            <value name="A">
              <block type="logic_compare" id="P/_eH0.sjGumz^3Il8V+">
                <field name="OP">LTE</field>
                <value name="A">
                  <block type="get_value" id="hH+I6U.[W8/,qUaa={{v">
                    <field name="ATTR">val</field>
                    <field name="OID">hm-rpc.0.000BD5699D4868.1.ILLUMINATION</field>
                  </block>
                </value>
                <value name="B">
                  <block type="math_number" id="Or~@[onoTLaR4~/:GHS^">
                    <field name="NUM">275</field>
                  </block>
                </value>
              </block>
            </value>
            <value name="B">
              <block type="logic_compare" id=")hI}1pjB^8v?[Fg|E!z(">
                <field name="OP">EQ</field>
                <value name="A">
                  <block type="get_value" id="SS{NXrwG#/w8*FTuJyB`">
                    <field name="ATTR">val</field>
                    <field name="OID">harmony.0.Schlafzimmer.activities.currentActivity</field>
                  </block>
                </value>
                <value name="B">
                  <block type="text" id="xL*eRN.41vi%a@nCFYW/">
                    <field name="TEXT">Fernsehen</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="comment" id="V1/St/{Wn6%gX}Y%ZK|d">
            <field name="COMMENT">TV System Schlafzimmer an</field>
            <next>
              <block type="control" id="qhG-#3MZHeD|C6QD.2F)">
                <mutation delay_input="false"></mutation>
                <field name="OID">hue.0.HueBridge.Schlafzimmer.command</field>
                <field name="WITH_DELAY">FALSE</field>
                <value name="VALUE">
                  <block type="text" id="@U*rl~}x9=oZMypEZMDC">
                    <field name="TEXT">{"on":true,"level":30,"transitiontime":15}</field>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </statement>
        <value name="IF1">
          <block type="logic_compare" id="B|qzx_8ZK_-X}m+%g:h%">
            <field name="OP">EQ</field>
            <value name="A">
              <block type="get_value" id="*k{pOVra?|doxLyc!pS-">
                <field name="ATTR">val</field>
                <field name="OID">harmony.0.Schlafzimmer.activities.currentActivity</field>
              </block>
            </value>
            <value name="B">
              <block type="text" id="Vdwf6y-}SlY_^YM;JQf.">
                <field name="TEXT">PowerOff</field>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO1">
          <block type="comment" id="Mp]5tgqQPS%@9~~v9K);">
            <field name="COMMENT">TV System Schlafzimmer aus</field>
            <next>
              <block type="control" id="a^U}1m82x}`{gDPNIeC#">
                <mutation delay_input="false"></mutation>
                <field name="OID">hue.0.HueBridge.Schlafzimmer.command</field>
                <field name="WITH_DELAY">FALSE</field>
                <value name="VALUE">
                  <block type="text" id="LNg9F|{*%O!S^EbvOM|A">
                    <field name="TEXT">{"on":false,"transitiontime":80}</field>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </statement>
      </block>
    </statement>
  </block>
</xml>