Fix turn off and dim commands
This commit is contained in:
parent
70059da094
commit
e528e2be1f
3 changed files with 18 additions and 6 deletions
|
|
@ -133,7 +133,7 @@ class MqttClient extends EventEmitter {
|
|||
// Guess that id that got state command without dim value belongs to Scene, not Device
|
||||
// This guess could very well be wrong depending on the installation...
|
||||
logger.warn(
|
||||
`Device id ${decodedTopic.id} belongs to both scene and device, guessing Scene is what should be set to ON.`
|
||||
`Device id ${decodedTopic.id} belongs to both scene and device, guessing Scene is what should be set to ON. `
|
||||
+ 'OFF commands still sent to device.',
|
||||
);
|
||||
device = this.deviceRegistry.getScene(decodedTopic.id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue