@madle
ja, das passiert öfter. ich habe mehrmals am Tag Warnungen vom Adapter das er sich nicht meldet.
Ich würde das Script so auf bauen, mit dem Cron und Wizards gibt es öfters Probleme.
Fanspeed ist vom Typ String, aber Nummer werden auch erkannt. nur wenn du Silent haben möchtest musst du String nehmen.
Spoiler
<xml xmlns="https://developers.google.com/blockly/xml">
<variables>
<variable type="cron" id="Start">Start</variable>
<variable type="cron" id="Stop">Stop</variable>
</variables>
<block type="comment" id="q|uUJ!Hs|AdQw~8R7?40" x="-288" y="-62">
<field name="COMMENT">Start</field>
<next>
<block type="schedule_create" id="gKtT#QpQLe*n|MjwvpD=">
<field name="NAME">Start</field>
<value name="SCHEDULE">
<shadow type="field_cron" id="4p=imdrPSevZ?pUZqlr)">
<field name="CRON">* * * * *</field>
</shadow>
<block type="field_cron" id="n8Jgz.M%HxA._T67ZlLb">
<field name="CRON">0 18 * * *</field>
</block>
</value>
<statement name="STATEMENT">
<block type="debug" id="8%WaHN.7laVw7DSpbx-)">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text" id="naa`}$J9HeCp^E(#U8G/">
<field name="TEXT">test</field>
</shadow>
<block type="text" id="bSdqj{j^|V!seG29/8u]">
<field name="TEXT">Filter start</field>
</block>
</value>
<next>
<block type="control" id="Cxv7Mg?/=d6W6c0H;r!^">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">philips-air.0.control.power</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="lgJEc-;tfdqz4-,o#6}#">
<field name="BOOL">TRUE</field>
</block>
</value>
<next>
<block type="control" id="p`_y=^iXmp3/HDN{`X9Z">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">philips-air.0.control.fanSpeed</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="text" id="{2h5lZwuh}P)rDaR[n-;">
<field name="TEXT">3</field>
</block>
</value>
<next>
<block type="control" id="X+cLwP_:-z|iO3Y(G`Gf">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">philips-air.0.control.lightBrightness</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="math_number" id="o1-D6)?}Z!Oq/;y28bod">
<field name="NUM">25</field>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
<next>
<block type="comment" id="ZV8zQWc8K;PYL~]IC3`@">
<field name="COMMENT">Stop</field>
<next>
<block type="schedule_create" id="Q;OUFF5im{5v[AB+kL!2">
<field name="NAME">Stop</field>
<value name="SCHEDULE">
<shadow type="field_cron">
<field name="CRON">* * * * *</field>
</shadow>
<block type="field_cron" id="SuV;![$;wsQq|HC3%Xx)">
<field name="CRON">0 6 * * *</field>
</block>
</value>
<statement name="STATEMENT">
<block type="debug" id="TTW*SmvEDGx~J6%@*OBk">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text">
<field name="TEXT">test</field>
</shadow>
<block type="text" id="85-n(V|#Kv#,=7kR#or{">
<field name="TEXT">Filter Stop</field>
</block>
</value>
<next>
<block type="control" id="haxPyQAEu)?/q479zSH[">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">philips-air.0.control.power</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="/YD6][i7T]U4,2@(189/">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</xml>