fix: bad secondary output for light-server
This commit is contained in:
parent
b4a3abb210
commit
9950ff6883
@ -99,7 +99,7 @@ local function mainLoop()
|
|||||||
if typeOfRoom == 'main' then
|
if typeOfRoom == 'main' then
|
||||||
applyMainCommand(mainOutput, lightIsOn)
|
applyMainCommand(mainOutput, lightIsOn)
|
||||||
elseif typeOfRoom == 'secondary' then
|
elseif typeOfRoom == 'secondary' then
|
||||||
applySecondaryCommand(mainOutput, lightIsOn)
|
applySecondaryCommand(secondaryOutput, lightIsOn)
|
||||||
else
|
else
|
||||||
error('unknown type of room "' .. tostring(typeOfRoom) .. '"', 0)
|
error('unknown type of room "' .. tostring(typeOfRoom) .. '"', 0)
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user