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
|
||||
applyMainCommand(mainOutput, lightIsOn)
|
||||
elseif typeOfRoom == 'secondary' then
|
||||
applySecondaryCommand(mainOutput, lightIsOn)
|
||||
applySecondaryCommand(secondaryOutput, lightIsOn)
|
||||
else
|
||||
error('unknown type of room "' .. tostring(typeOfRoom) .. '"', 0)
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user