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