Add full support for mode controller

This commit is contained in:
David 2025-05-12 18:23:58 +00:00
parent e7a2079ff7
commit 3bcd767127
8 changed files with 198 additions and 6 deletions

View file

@ -145,7 +145,7 @@ class Alex2MQTT extends EventEmitter {
this.rootTopic,
name,
endpointId,
normalizedCategory
normalizedCategory|| [DisplayCategory.LIGHT]
);
this.devices.push(device);
return device;