prototyp: przełączaj również lampkę stołową
This commit is contained in:
@@ -5,8 +5,10 @@ when
|
||||
then
|
||||
if (sSONOFF09b.state == ON) {
|
||||
sSONOFF09b.sendCommand(OFF)
|
||||
sSHELLY02.sendCommand(OFF)
|
||||
} else {
|
||||
sSONOFF09b.sendCommand(ON)
|
||||
sSHELLY02.sendCommand(ON)
|
||||
}
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user