sync: wiatrak WC zapobiegawczo na ON
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
|
||||
/* na wypadek rebootów sonoffa */
|
||||
|
||||
rule "Synchronizuj wiatrak wc po restarcie"
|
||||
rule "Włączaj wiatrak wc po restarcie"
|
||||
when
|
||||
Item rSONOFF01 received update ON
|
||||
then
|
||||
logInfo("S01wiatrakWC", "Reappeared, applying state wiatrak WC {}", sSONOFF01.state)
|
||||
sSONOFF01.sendCommand(sSONOFF01.state.toString)
|
||||
/*logInfo("S01wiatrakWC", "Reappeared, applying state wiatrak WC {}", sSONOFF01.state)
|
||||
sSONOFF01.sendCommand(sSONOFF01.state.toString)*/
|
||||
logInfo("S01wiatrakWC", "Appeared, turning ON")
|
||||
sSONOFF01.sendCommand(ON)
|
||||
end
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user