przedpokój: postaraj się odtworzyć stan po restarcie sonoffa
This commit is contained in:
@@ -65,3 +65,13 @@ then
|
||||
sSONOFF06.sendCommand(OFF)
|
||||
end
|
||||
|
||||
/* na wypadek rebootów sonoffa */
|
||||
rule "Synchronizuj przedpokój po restarcie"
|
||||
when
|
||||
Item rSONOFF06 changed to ON
|
||||
then
|
||||
logInfo("S06przedpokój", "Reappeared, applying state przedpokój {}", sSONOFF06.state)
|
||||
sSONOFF06.sendCommand(sSONOFF06.state.toString)
|
||||
end
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user