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