Da ich mich mal wieder etwas mehr mit meinem Smarthome beschäftige, dachte ich..
Musik auf dem Klo, wenn das Licht angeht wäre auch schöne, eine Alexa ist ja vorhanden 🤭
Habe mal das Script von der Alarmanlage Kopier (weil die Alexa Dots schon eingestragen sind) das verkleiner, wenn
Nötig kann ich so leich auch andere Dots mite einbauen.

<xml xmlns="https://developers.google.com/blockly/xml">
<block type="on_ext" id="Zgql;yuDe,,:_rAX3C)V" x="-912" y="-887">
<mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
<field name="CONDITION">ne</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="c]/3;=1!sN4{)CPfzNxZ">
<field name="oid">sonoff.0.Shelly Bad.POWER</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="controls_if" id="/QvjBBba^;9v8PxGd!_M">
<mutation else="1"></mutation>
<value name="IF0">
<block type="logic_operation" id="$R:JUTsgyP.FliBeqTk@">
<field name="OP">AND</field>
<value name="A">
<block type="time_compare_ex" id="s1,$.1l-@]1q+{`+m4Am">
<mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true" actual_time="true"></mutation>
<field name="USE_ACTUAL_TIME">TRUE</field>
<field name="OPTION">not between</field>
<value name="START_TIME">
<shadow type="text" id="1$;[et@)[mm0)rbF#G~[">
<field name="TEXT">21:00</field>
</shadow>
</value>
<value name="END_TIME">
<shadow type="text" id="EMft)Mdx!*ReM9G5pY[O">
<field name="TEXT">06:00</field>
</shadow>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="ZT{9Lv=QqNcS;-sFHw5f">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="ns#em9QIq)ZhTGpw?d:f">
<field name="ATTR">val</field>
<field name="OID">sonoff.0.Shelly Bad.POWER</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id=";mUErZEa_|]]GhRx7FAX">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id=".L@,}8eCphxlOJ(r#Kda">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">alexa2.0.Echo-Devices.G090LF0971550GS3.Commands.textCommand</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="text" id="|AClG8}GQtT]U=Ra+uf8">
<field name="TEXT">Spiele Planet Radio</field>
</block>
</value>
</block>
</statement>
<statement name="ELSE">
<block type="control" id="[vG{V$V(j4};EHpS!M4l">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">alexa2.0.Echo-Devices.G090L91180420PGF.Commands.textCommand</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="text" id="B@@9,E4KH5.uw;D-1Kj(">
<field name="TEXT">Stop</field>
</block>
</value>
</block>
</statement>
</block>
</statement>
</block>
</xml>