diff --git a/rules/salon.cottonballs.rules b/rules/salon.cottonballs.rules index 8a4c8ca..6c0f75d 100644 --- a/rules/salon.cottonballs.rules +++ b/rules/salon.cottonballs.rules @@ -1,22 +1,21 @@ -rule "Zapal cottonballs, kanapowe i blat rano" +rule "Zapal cottonballs i blat rano" when Time cron "0 45 5 ? * MON-FRI *" then sOWFS01.sendCommand(ON) -/* sSONOFF01.sendCommand(ON) */ sD1MINI02MOS.sendCommand(ON) end -rule "Zgaś cottonballs, kanapowe i blat rano" +rule "Zgaś cottonball i blat rano" when Time cron "0 35 6 * * ?" then sOWFS01.sendCommand(OFF) - sSONOFF01.sendCommand(OFF) sD1MINI02MOS.sendCommand(OFF) end + /* kanapowe zmierzchowe sterowane z lampki stolowej */ rule "Zapal cottonballsy i blat przed zmierzchem" @@ -27,7 +26,7 @@ then sOWFS01_expected.postUpdate(ON) /* HOLIDAY */ - D1MINI02MOS.sendCommand(ON) + sD1MINI02MOS.sendCommand(ON) end rule "Zgaś cottonballsy wieczorem"