<xml xmlns="http://www.w3.org/1999/xhtml">
<variables>
<variable type="" id="xL{FzofqhyJnPQq`w`6A">Wohnzimmer_vorherige_Farbe</variable>
<variable type="" id="#-mXz|12s@TMb{7:o;u`">Alarmfarbe</variable>
<variable type="undefined" id="Alarm_Lampe_war_aus">Alarm_Lampe_war_aus</variable>
<variable type="undefined" id="Alarm_Lampe_war_an">Alarm_Lampe_war_an</variable>
</variables>
<block type="procedures_defcustomnoreturn" id="RNp5O@$XFY~1TyEGm,2," x="13" y="13">
<mutation statements="false"></mutation>
<field name="NAME">Datenpunkte_erstellen</field>
<field name="SCRIPT">LyoqCiAqIENyZWF0ZSBzdGF0ZXMgdW5kZXIgMF91c2VyZGF0YS4wIG9yIGphdmFzY3JpcHQueAogKiBDdXJyZW50IFZlcnNpb246ICAgICBodHRwczovL2dpdGh1Yi5jb20vTWljLU0vaW9icm9rZXIuY3JlYXRlVXNlclN0YXRlcwogKiBTdXBwb3J0OiAgICAgICAgICAgICBodHRwczovL2ZvcnVtLmlvYnJva2VyLm5ldC90b3BpYy8yNjgzOS8KICogQXV0b3I6ICAgICAgICAgICAgICAgTWljIChpb0Jyb2tlcikgfCBNaWMtTSAoZ2l0aHViKQogKiBWZXJzaW9uOiAgICAgICAgICAgICAxLjEgKDI2IEphbnVhcnkgMjAyMCkKICogRXhhbXBsZTogICAgICAgICAgICAgc2VlIGh0dHBzOi8vZ2l0aHViLmNvbS9NaWMtTS9pb2Jyb2tlci5jcmVhdGVVc2VyU3RhdGVzI2JlaXNwaWVsCiAqIC0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tCiAqIFBMRUFTRSBOT1RFOiBQZXIgaHR0cHM6Ly9naXRodWIuY29tL2lvQnJva2VyL2lvQnJva2VyLmphdmFzY3JpcHQvaXNzdWVzLzQ3NCwgdGhlIHVzZWQgZnVuY3Rpb24gc2V0T2JqZWN0KCkgCiAqICAgICAgICAgICAgICBleGVjdXRlcy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gICAgIGlmIChMT0dfREVCVUcpIGxvZygnW0RlYnVnXSBOb3cgd2UgYXJlIGNyZWF0aW5nIG5ldyBzdGF0ZSBbJyArIGxvb3BQYXJhbVswXSArICddJyk7CiAgICAgICAgICAgIGxldCBsb29wSW5pdCA9IChsb29wUGFyYW1bMV1bJ2RlZiddID09IHVuZGVmaW5lZCkgPyBudWxsIDogbG9vcFBhcmFtWzFdWydkZWYnXTsgLy8gbWltaWMgc2FtZSBiZWhhdmlvciBhcyBjcmVhdGVTdGF0ZSBpZiBubyBpbml0IHZhbHVlIGlzIHByb3ZpZGVkCiAgICAgICAgICAgIGNyZWF0ZVN0YXRlKGxvb3BQYXJhbVswXSwgbG9vcEluaXQsIGZvcmNlLCBsb29wUGFyYW1bMV0sIGZ1bmN0aW9uKCkgewogICAgICAgICAgICAgICAgbnVtU3RhdGVzLS07CiAgICAgICAgICAgICAgICBpZiAobnVtU3RhdGVzID09PSAwKSB7CiAgICAgICAgICAgICAgICAgICAgaWYgKExPR19ERUJVRykgbG9nKCdbRGVidWddIEFsbCBzdGF0ZXMgcHJvY2Vzc2VkLicpOwogICAgICAgICAgICAgICAgICAgIGlmICh0eXBlb2YgY2FsbGJhY2sgPT09ICdmdW5jdGlvbicpIHsgLy8gZXhlY3V0ZSBpZiBhIGZ1bmN0aW9uIHdhcyBwcm92aWRlZCB0byBwYXJhbWV0ZXIgY2FsbGJhY2sKICAgICAgICAgICAgICAgICAgICAgICAgaWYgKExPR19ERUJVRykgbG9nKCdbRGVidWddIEZ1bmN0aW9uIHRvIGNhbGxiYWNrIHBhcmFtZXRlciB3YXMgcHJvdmlkZWQnKTsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGNhbGxiYWNrKCk7CiAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuOwogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfSk7CiAgICAgIC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KCFmb3JjZSkgewogICAgICAgICAgICAgICAgICAgIC8vIFN0YXRlIGV4aXN0cyBhbmQgc2hhbGwgbm90IGJlIG92ZXJ3cml0dGVuIHNpbmNlIGZvcmNlPWZhbHNlCiAgICAgICAgICAgICAgICAgICAgLy8gU28sIHdlIGRvIG5vdCBwcm9jZWVkLgogICAgICAgICAgICAgICAgICAgIG51bVN0YXRlcy0tOwogICAgICAgICAgICAgICAgICAgIGlmIChudW1TdGF0ZXMgPT09IDApIHsKICAgICAgICAgICAgICAgICAgICAgICAgaWYgKExPR19ERUJVRykgbG9nKCdbRGVidWddIEFsbCBzdGF0ZXMgc3VjY2Vzc2Z1bGx5IHByb2Nlc3NlZCEnKTsKICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHR5cGVvZiBjYWxsYmFjayA9PT0gJ2Z1bmN0aW9uJykgeyAvLyBleGVjdXRlIGlmIGEgZnVuY3Rpb24gd2FzIHByb3ZpZGVkIHRvIHBhcmFtZXRlciBjYWxsYmFjawogICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKExPR19ERUJVRykgbG9nKCdbRGVidWddIEFuIG9wdGlvbmFsIGNhbGxiYWNrIGZ1bmN0aW9uIHdhcyBwcm92aWRlZCwgd2hpY2ggd2UgYXJlIGdvaW5nIHRvIGV4ZWN1dGUgbm93LicpOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGNhbGxiYWNrKCk7CiAgICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgICAgICAgICAgICAvLyBXZSBuZWVkIHRvIGdvIG91dCBhbmQgY29udGludWUgd2l0aCBuZXh0IGVsZW1lbnQgaW4gbG9vcC4KICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuOyAvLyBodHRwczovL3N0YWNrb3ZlcmZsb3cuY29tL3F1ZXN0aW9ucy8xODQ1MjkyMC9jb250aW51ZS1pbi1jdXJzb3ItZm9yZWFjaAogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIH0gLy8gaWYoIWZvcmNlKQogICAgICAgICAgICB9CgogICAgICAgICAgICAvLyBTdGF0ZSBpcyBub3QgZXhpc3Rpbmcgb3IgZm9yY2UgPSB0cnVlLCBzbyB3ZSBhcmUgY29udGludWluZyB0byBjcmVhdGUgdGhlIHN0YXRlIHRocm91Z2ggc2V0T2JqZWN0KCkuCiAgICAgICAgICAgIGxldCBvYmogPSB7fTsKICAgICAgICAgICAgb2JqLnR5cGUgPSAnc3RhdGUnOwogICAgICAgICAgICBvYmoubmF0aXZlID0ge307CiAgICAgICAgICAgIG9iai5jb21tb24gPSBsb29wUGFyYW1bMV07CiAgICAgICAgICAgIHNldE9iamVjdChsb29wUGFyYW1bMF0sIG9iaiwgZnVuY3Rpb24gKGVycikgewogICAgICAgICAgICAgICAgaWYgKGVycikgewogICAgICAgICAgICAgICAgICAgIGxvZygnQ2Fubm90IHdyaXRlIG9iamVjdCBmb3Igc3RhdGUgWycgKyBsb29wUGFyYW1bMF0gKyAnXTogJyArIGVycik7CiAgICAgICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgICAgICAgIGlmIChMT0dfREVCVUcpIGxvZygnW0RlYnVnXSBOb3cgd2UgYXJlIGNyZWF0aW5nIG5ldyBzdGF0ZSBbJyArIGxvb3BQYXJhbVswXSArICddJykKICAgICAgICAgICAgICAgICAgICBsZXQgaW5pdCA9IG51bGw7CiAgICAgICAgICAgICAgICAgICAgaWYobG9vcFBhcmFtWzFdLmRlZiA9PT0gdW5kZWZpbmVkKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIGlmKGxvb3BQYXJhbVsxXS50eXBlID09PSAnbnVtYmVyJykgaW5pdCA9IDA7CiAgICAgICAgICAgICAgICAgICAgICAgIGlmKGxvb3BQYXJhbVsxXS50eXBlID09PSAnYm9vbGVhbicpIGluaXQgPSBmYWxzZTsKICAgICAgICAgICAgICAgICAgICAgICAgaWYobG9vcFBhcmFtWzFdLnR5cGUgPT09ICdzdHJpbmcnKSBpbml0ID0gJyc7CiAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHsKICAgICAgICAgICAgICAgICAgICAgICAgaW5pdCA9IGxvb3BQYXJhbVsxXS5kZWY7CiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgIHNldFRpbWVvdXQoZnVuY3Rpb24oKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHNldFN0YXRlKGxvb3BQYXJhbVswXSwgaW5pdCwgdHJ1ZSwgZnVuY3Rpb24oKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoTE9HX0RFQlVHKSBsb2coJ1tEZWJ1Z10gc2V0U3RhdGUgZHVyY2hnZWbDvGhydDogJyArIGxvb3BQYXJhbVswXSk7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICBudW1TdGF0ZXMtLTsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChudW1TdGF0ZXMgPT09IDApIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoTE9HX0RFQlVHKSBsb2coJ1tEZWJ1Z10gQWxsIHN0YXRlcyBwcm9jZXNzZWQuJyk7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHR5cGVvZiBjYWxsYmFjayA9PT0gJ2Z1bmN0aW9uJykgeyAvLyBleGVjdXRlIGlmIGEgZnVuY3Rpb24gd2FzIHByb3ZpZGVkIHRvIHBhcmFtZXRlciBjYWxsYmFjawogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoTE9HX0RFQlVHKSBsb2coJ1tEZWJ1Z10gRnVuY3Rpb24gdG8gY2FsbGJhY2sgcGFyYW1ldGVyIHdhcyBwcm92aWRlZCcpOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gY2FsbGJhY2soKTsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgICAgIH0pOwogICAgICAgICAgICAgICAgICAgIH0sIERFTEFZICsgKDIwICogY291bnRlcikgKTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfSk7CiAgICAgICAgfSk7CiAgICB9Cn0KCmxldCBzdGF0ZXNUb0NyZWF0ZSA9IFsKICAgIFsnSFVFLkhVRV9BbGFybScsIHsnbmFtZSc6J0hVRSBBbGFybScsICd0eXBlJzonYm9vbGVhbicsICdyZWFkJzp0cnVlLCAnd3JpdGUnOnRydWUsICdyb2xlJzonYnV0dG9uJywgJ2RlZic6dHJ1ZSwgInNtYXJ0TmFtZSI6IHsiZGUiOiAiQWxhcm0iLCJzbWFydFR5cGUiOiAiU1dJVENIIn0gfV0sCiAgICAKXTsgICAgCgpjcmVhdGVVc2VyU3RhdGVzKCcwX3VzZXJkYXRhLjAnLCBmYWxzZSwgc3RhdGVzVG9DcmVhdGUsIGZ1bmN0aW9uKCl7OwogICAgbWFpbigpOwp9KTsK</field>
<comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
</block>
<block type="procedures_callcustomnoreturn" id="P)A~4b{!A4-0L(P6^+M!" x="12" y="87">
<mutation name="Datenpunkte_erstellen"></mutation>
</block>
<block type="procedures_defnoreturn" id="C%iyDh@+z@K[8C:f5D[l" x="13" y="137">
<field name="NAME">main</field>
<comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
<statement name="STACK">
<block type="on_ext" id="Dh1}]g.*Y*2#PG/$}Psa">
<mutation items="1"></mutation>
<field name="CONDITION">ne</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="a8BEpy1,Ciq)TQS#2oN0">
<field name="oid">hue.0.Fensterlampe.on</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="controls_if" id="xz9Ub9K6w.t})FIQLm9P">
<value name="IF0">
<block type="logic_negate" id="V;XxQd%-%:1I3GwjR9;$">
<value name="BOOL">
<block type="get_value" id="Stp10`qq66fCh@rMKw=_">
<field name="ATTR">val</field>
<field name="OID">hue.0.Fensterlampe.on</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="variables_set" id="y*(t}AAi4.l4v9DB%t{l">
<field name="VAR" id="xL{FzofqhyJnPQq`w`6A" variabletype="">Wohnzimmer_vorherige_Farbe</field>
<value name="VALUE">
<block type="text_join" id="8qo3[#FHqbw]omvf[2wK">
<mutation items="13"></mutation>
<value name="ADD0">
<block type="text" id="7HWx4=ylwAnXnfwl0_6#">
<field name="TEXT">{"on":</field>
</block>
</value>
<value name="ADD1">
<block type="get_value" id=",DEuCp|hL@9o5Og^N4Zp">
<field name="ATTR">val</field>
<field name="OID">hue.0.Fensterlampe.on</field>
</block>
</value>
<value name="ADD2">
<block type="text" id="/i@f|=R)YDRcsQcDh|-k">
<field name="TEXT">,"level":</field>
</block>
</value>
<value name="ADD3">
<block type="get_value" id=",Fb;/Sb-`4W?$*`;SRnE">
<field name="ATTR">val</field>
<field name="OID">hue.0.Fensterlampe.level</field>
</block>
</value>
<value name="ADD4">
<block type="text" id="?egu2j4e8X/my`!l36ry">
<field name="TEXT">,"hue":</field>
</block>
</value>
<value name="ADD5">
<block type="get_value" id="xpy8q,AY?*gz5Qv,E8@a">
<field name="ATTR">val</field>
<field name="OID">hue.0.Fensterlampe.hue</field>
</block>
</value>
<value name="ADD6">
<block type="text" id="6xzoF;n%KZDTw[Cm}pJa">
<field name="TEXT">,"b":</field>
</block>
</value>
<value name="ADD7">
<block type="get_value" id="AWl-;FiMeM}p`Gr.`^6C">
<field name="ATTR">val</field>
<field name="OID">hue.0.Fensterlampe.b</field>
</block>
</value>
<value name="ADD8">
<block type="text" id="~TXt4ust;JP4!i%,u@HT">
<field name="TEXT">,"g":</field>
</block>
</value>
<value name="ADD9">
<block type="get_value" id="0J9J(6EMJeu%6~PL9!Hj">
<field name="ATTR">val</field>
<field name="OID">hue.0.Fensterlampe.g</field>
</block>
</value>
<value name="ADD10">
<block type="text" id="bK`T7H[5j+`/$jevDEm/">
<field name="TEXT">,"r":</field>
</block>
</value>
<value name="ADD11">
<block type="get_value" id="/g^ZHDa{4|*nhzSLPP^R">
<field name="ATTR">val</field>
<field name="OID">hue.0.Fensterlampe.r</field>
</block>
</value>
<value name="ADD12">
<block type="text" id="8t+{I;|3:[4h}m1v6=F_">
<field name="TEXT">,"alert":"none","transitiontime":100}</field>
</block>
</value>
</block>
</value>
</block>
</statement>
</block>
</statement>
<next>
<block type="on_ext" id="xhm14(HW4VoRvObmxFfQ">
<mutation items="1"></mutation>
<field name="CONDITION">any</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="6{C-o)p.q~,jZQ)O,CsP">
<field name="oid">0_userdata.0.HUE.HUE_Alarm</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="variables_set" id="NJZ9T6,C.]pP/wnD#KHL">
<field name="VAR" id="#-mXz|12s@TMb{7:o;u`" variabletype="">Alarmfarbe</field>
<value name="VALUE">
<block type="text" id="Y1I(367SlX2E|wL.:xvd">
<field name="TEXT">{"level":100, "r":100,"alert":"lselect", "transitiontime":0}</field>
</block>
</value>
<next>
<block type="controls_if" id="x7EaBGDENGkS0TK$B(w%">
<mutation elseif="1"></mutation>
<value name="IF0">
<block type="get_value" id="wwa*TbF/?8e-9#irr@*7">
<field name="ATTR">val</field>
<field name="OID">hue.0.Fensterlampe.on</field>
</block>
</value>
<statement name="DO0">
<block type="control" id="Qs1K%azKNq=wPf,b2,W%">
<mutation delay_input="false"></mutation>
<field name="OID">alexa2.0.Echo-Devices.G0911B0592770T3W.Commands.speak</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="text" id="O)0K[zXZ/}lb0(B+Eizm">
<field name="TEXT">Der Alarm wurde ausgelöst</field>
</block>
</value>
<next>
<block type="variables_set" id="b9urUe=Yr_=iU%5)h|ck">
<field name="VAR" id="xL{FzofqhyJnPQq`w`6A" variabletype="">Wohnzimmer_vorherige_Farbe</field>
<value name="VALUE">
<block type="text_join" id="`L[zcsiZx)1,O|jJ7lj.">
<mutation items="13"></mutation>
<value name="ADD0">
<block type="text" id="Hj|8{9!c.`mrJpCpt(m*">
<field name="TEXT">{"on":</field>
</block>
</value>
<value name="ADD1">
<block type="get_value" id="k+Z,U9$?doapFG5CqJ-O">
<field name="ATTR">val</field>
<field name="OID">hue.0.Fensterlampe.on</field>
</block>
</value>
<value name="ADD2">
<block type="text" id="%,HS[U!kGOs6N|2dhTm+">
<field name="TEXT">,"level":</field>
</block>
</value>
<value name="ADD3">
<block type="get_value" id="@z%@{/~.PDZnLzBRXF3I">
<field name="ATTR">val</field>
<field name="OID">hue.0.Fensterlampe.level</field>
</block>
</value>
<value name="ADD4">
<block type="text" id="RyhIk(X^q;q`N|qWECJ7">
<field name="TEXT">,"hue":</field>
</block>
</value>
<value name="ADD5">
<block type="get_value" id="J*ro+E!aOEh[N1=:D6OH">
<field name="ATTR">val</field>
<field name="OID">hue.0.Fensterlampe.hue</field>
</block>
</value>
<value name="ADD6">
<block type="text" id=".F;_~LVo_OM$O|(wv@!+">
<field name="TEXT">,"b":</field>
</block>
</value>
<value name="ADD7">
<block type="get_value" id=",*5d(+oqW9qsIv=,q~D)">
<field name="ATTR">val</field>
<field name="OID">hue.0.Fensterlampe.b</field>
</block>
</value>
<value name="ADD8">
<block type="text" id="3@5q{w56qn#/(O}ad.{s">
<field name="TEXT">,"g":</field>
</block>
</value>
<value name="ADD9">
<block type="get_value" id="I%O-36[JAQIN|ICUrVa4">
<field name="ATTR">val</field>
<field name="OID">hue.0.Fensterlampe.g</field>
</block>
</value>
<value name="ADD10">
<block type="text" id="04W{15E)S8LMHA;zT,E0">
<field name="TEXT">,"r":</field>
</block>
</value>
<value name="ADD11">
<block type="get_value" id="YCz:`BA1I!9y9=I/]U!-">
<field name="ATTR">val</field>
<field name="OID">hue.0.Fensterlampe.r</field>
</block>
</value>
<value name="ADD12">
<block type="text" id="Jon021N2wE7[ak6cXIi{">
<field name="TEXT">,"alert":"none","transitiontime":100}</field>
</block>
</value>
</block>
</value>
<next>
<block type="control" id="=H;{e=)jtRyl?L;+esN5">
<mutation delay_input="false"></mutation>
<field name="OID">hue.0.Fensterlampe.command</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="variables_get" id="$B*S6d:hz(=OE7:WBL94">
<field name="VAR" id="#-mXz|12s@TMb{7:o;u`" variabletype="">Alarmfarbe</field>
</block>
</value>
<next>
<block type="timeouts_settimeout" id="S28bVy@ODVoyUu`ye5|6">
<field name="NAME">Alarm_Lampe_war_an</field>
<field name="DELAY">15</field>
<field name="UNIT">sec</field>
<statement name="STATEMENT">
<block type="control" id="{XMp]}%uGE8`a_m@BCO:">
<mutation delay_input="false"></mutation>
<field name="OID">hue.0.Fensterlampe.command</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="variables_get" id="+:@vtVc}$kWuz95#miMy">
<field name="VAR" id="xL{FzofqhyJnPQq`w`6A" variabletype="">Wohnzimmer_vorherige_Farbe</field>
</block>
</value>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
<value name="IF1">
<block type="logic_negate" id=";C+b?W1j$.k0a(T9/WS6">
<value name="BOOL">
<block type="get_value" id="GQ(x0#_EiQ4RL?~ms^z2">
<field name="ATTR">val</field>
<field name="OID">hue.0.Fensterlampe.on</field>
</block>
</value>
</block>
</value>
<statement name="DO1">
<block type="control" id="1ftmybv|LYEEeLzehC%)">
<mutation delay_input="false"></mutation>
<field name="OID">alexa2.0.Echo-Devices.G0911B0592770T3W.Commands.speak</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="text" id="$|7IdSy~!!mfX[1k~1@D">
<field name="TEXT">Der Alarm wurde ausgelöst</field>
</block>
</value>
<next>
<block type="control" id="((?FlJ;;5hSWq3BOmXJo">
<mutation delay_input="false"></mutation>
<field name="OID">hue.0.Fensterlampe.command</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="variables_get" id="WC?J1+1dz;49!JWv_3n.">
<field name="VAR" id="#-mXz|12s@TMb{7:o;u`" variabletype="">Alarmfarbe</field>
</block>
</value>
<next>
<block type="timeouts_settimeout" id="791GG7L%DRqAIc*g|Nnc">
<field name="NAME">Alarm_Lampe_war_aus</field>
<field name="DELAY">15</field>
<field name="UNIT">sec</field>
<statement name="STATEMENT">
<block type="control" id="Lfyri[#!.2{$vTM(rSZj">
<mutation delay_input="false"></mutation>
<field name="OID">hue.0.Fensterlampe.command</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="variables_get" id="{NgNb?Ub]toZlPfO}zn+">
<field name="VAR" id="xL{FzofqhyJnPQq`w`6A" variabletype="">Wohnzimmer_vorherige_Farbe</field>
</block>
</value>
<next>
<block type="control" id="j2}?Ujr8Svat_5G5N[-b">
<mutation delay_input="false"></mutation>
<field name="OID">hue.0.Fensterlampe.command</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="text" id="x_IAyAfmce@2;$RjkMNZ">
<field name="TEXT">{"on":false,"transitiontime":100}</field>
</block>
</value>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</statement>
</block>
</xml>