|
@ -177,6 +177,11 @@ func (p *Publisher) reassignDevice(device models.Device) bool { |
|
|
|
|
|
|
|
|
// Stop here, no scene should be assigned.
|
|
|
// Stop here, no scene should be assigned.
|
|
|
return false |
|
|
return false |
|
|
|
|
|
} else { |
|
|
|
|
|
if p.sceneData[selectedAssignment.SceneID] == nil { |
|
|
|
|
|
// Freeze until scene becomes available.
|
|
|
|
|
|
return false |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if p.sceneAssignment[device.ID] != nil { |
|
|
if p.sceneAssignment[device.ID] != nil { |
|
|