Device triggers for scenes implemented
This commit is contained in:
parent
b10583336e
commit
74e381f009
2 changed files with 60 additions and 18 deletions
|
|
@ -72,6 +72,8 @@ class DeviceRegistry {
|
|||
...this.sceneDevices,
|
||||
[scene.uniqueId]: scene,
|
||||
};
|
||||
this.sceneUniqueIdByBleOutputAddress[scene.bleOutputAddress] = scene.uniqueId;
|
||||
|
||||
logger.verbose(
|
||||
`Added/updated scene: ${JSON.stringify(scene)}. ${
|
||||
Object.keys(this.sceneDevices).length
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue