@djmarc75 gerne, wobei es sehr einfach gestaltet ist:
"Click": Anschalten wenn Lampe aus, Level 25 % und Warmweiß bzw ausschalten wenn Lampe an ist:
<block xmlns="https://developers.google.com/blockly/xml" type="on_ext" id="/A~$qt5qd?jx75Ipue0H" x="-137" y="338">
<mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
<field name="CONDITION">true</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="d)Vzrr`{SXj@%E%};ebK">
<field name="oid">zigbee.1.00158d0008073091.click</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="controls_if" id="vLx:!_;x@2~;4o5:ua)|">
<mutation elseif="1"></mutation>
<value name="IF0">
<block type="logic_operation" id="~jB(v:paGx#JA?DqZ|Dg" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="j#*;I@nswhYDw`45=_8C">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="|*43jF|,TSp$)/jslyGm">
<field name="ATTR">val</field>
<field name="OID">zigbee.1.00158d0008073091.click</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="(8}a%}Lsktl:hRmkRHZo">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="DsWK9mDmuGT_SZ0k(YI^">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="~F$FZRs5s+x{19BuvvY=">
<field name="ATTR">val</field>
<field name="OID">hue.0.Hue_Surimu_panel_1.on</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="uONuNRs5tg)0}a.sP=c:">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="IXnRGy1La|2}JHEoz[Z0">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">hue.0.Hue_Surimu_panel_1.on</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="rSAh~C.$*$0OhD7p+@lo">
<field name="BOOL">TRUE</field>
</block>
</value>
<next>
<block type="control" id="-5?UWDa*tL2JGmitkmYP">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">hue.0.Hue_Surimu_panel_1.ct</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="math_number" id="D_^K!0ZC0%i_|L7]43PY">
<field name="NUM">2732</field>
</block>
</value>
<next>
<block type="control" id="bHeZ:a8g%AfKn=h*VPFg">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">hue.0.Hue_Surimu_panel_1.level</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="math_number" id="I=1e;p*pa5)OMjSQ+d5F">
<field name="NUM">25</field>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</statement>
<value name="IF1">
<block type="logic_operation" id="wb..|1Obf]81}c.OL:)s" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="ul/-n^5OX9lJhr~/JgWc">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="8Aw_FU*5ocqXpj5_ZJYS">
<field name="ATTR">val</field>
<field name="OID">zigbee.1.00158d0008073091.click</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="W(/%C4[|jYCg+pj{v=}}">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="TL{QAtyHRFAv$WSE-$b@">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="li(ae}7Ml82BM8rLS%w^">
<field name="ATTR">val</field>
<field name="OID">hue.0.Hue_Surimu_panel_1.on</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="x}i6kAZ~rs1H(,NuShN6">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO1">
<block type="control" id="|r%{5S!Knu[Jt#Ijo#J2">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">hue.0.Hue_Surimu_panel_1.on</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="TytfxQ1~e5vpc/}(L4uC">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</statement>
</block>
</statement>
</block>
"Hold": Anschalten wenn Lampe aus, Level 25 % und Farbe Rot einstellen bzw ausschalten wenn Lampe an ist:
<block xmlns="https://developers.google.com/blockly/xml" type="on_ext" id="YpQ4R$x-4[4ke!PsYl(g" x="-137" y="757">
<mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
<field name="CONDITION">true</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="Hw!*8=zFS-L;^R!KB81^">
<field name="oid">zigbee.1.00158d0008073091.hold</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="controls_if" id="@Vfx2}MP^#;Pv@O@/VDn">
<mutation elseif="1"></mutation>
<value name="IF0">
<block type="logic_operation" id="I/PMGz@z.CkuIp}Xjc+-" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="_n:_0{uNg_7du^sgr3p@">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="h*W,@^}e[^ZB==oPn^Pq">
<field name="ATTR">val</field>
<field name="OID">zigbee.1.00158d0008073091.hold</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="+JRA1WJATLeiFw(+_=~;">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="6[K}4o;vU(EF9}6m1~s1">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="_QuS0OXT(4-QQP^yy{@k">
<field name="ATTR">val</field>
<field name="OID">hue.0.Hue_Surimu_panel_1.on</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="J([$g}R0Ho{4q=29l!zN">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="`*!S$`;W6e5CST7j3EOY">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">hue.0.Hue_Surimu_panel_1.on</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="ojc{Lt:lIr?1X-y.w}ro">
<field name="BOOL">TRUE</field>
</block>
</value>
<next>
<block type="control" id="lf=,_#JyvUm(Xa0PXPm3">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">hue.0.Hue_Surimu_panel_1.hue</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="math_number" id="+wfRu?FvdmeTTng5qi+#">
<field name="NUM">0</field>
</block>
</value>
<next>
<block type="control" id="?8]3s/leY$hC3Gqad%gt">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">hue.0.Hue_Surimu_panel_1.level</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="math_number" id="VH%}J7Yaj_*M%IoTI:xg">
<field name="NUM">25</field>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</statement>
<value name="IF1">
<block type="logic_operation" id="qDvXH(MhtZ9u{LJ/@IV*" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="/Q}k*(7Wh~hBb8]vHTG-">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="j_}:{{Gw,gy2F|UXzo7J">
<field name="ATTR">val</field>
<field name="OID">zigbee.1.00158d0008073091.hold</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="|KDE2P5;x|lfZrm0PG#H">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="nKtUEUqb=0IaFn$`B4zu">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="g4.8C}7w{W^2?QLto0zY">
<field name="ATTR">val</field>
<field name="OID">hue.0.Hue_Surimu_panel_1.on</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="Z|`aU6*.AiT:9*-fc{k$">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO1">
<block type="control" id="%xrr|A[uK34C4QZ#3:%Q">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">hue.0.Hue_Surimu_panel_1.on</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="]~_Ib3S}*D%x]JvS@-t4">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</statement>
</block>
</statement>
</block>
@DJMarc75 : Die Datenpunkte waren alle korrekt.