Logisch
Code
<block xmlns="http://www.w3.org/1999/xhtml" type="timeouts_settimeout" id="f2OL8YvOL]%|Ek?c[fs~" x="-342" y="1174">
<field name="NAME">timeout</field>
<field name="DELAY">15</field>
<field name="UNIT">min</field>
<statement name="STATEMENT">
<block type="timeouts_clearinterval" id="N{~I1Zot|LD+I{USu%/I">
<field name="NAME">Intervall</field>
<next>
<block type="control" id="bzidv3EL?iTPWl)h/2vg">
<mutation delay_input="false"></mutation>
<field name="OID">yeelight.0.color_0x00000000052c01af.power</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_compare" id="kz69+!G[pIBl5(GtT[ix">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="(S:5ZD+ogCb)[i:PI1-k">
<field name="ATTR">val</field>
<field name="OID">yeelight.0.color_0x00000000052c01af.power</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="9PnUA]=d(S~|~WmtU=)9">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</value>
<next>
<block type="toggle" id="_EF5P)oFeDBWI9ZnL@k:">
<mutation delay_input="false"></mutation>
<field name="OID">yeelight.0.color_0x00000000052c01af.power</field>
<field name="WITH_DELAY">FALSE</field>
<next>
<block type="toggle" id="cr7#~}AnwfyBc:zOI]-W">
<mutation delay_input="false"></mutation>
<field name="OID">yeelight.0.color_0x00000000052c01af.color_mode</field>
<field name="WITH_DELAY">FALSE</field>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
Alles anzeigen