Version 0.2.0
continuous-integration/drone/push Build is passing

* Hide nanoleaf:IP devices in UI
* Color clicking behavior is more clear
* small icons for mega-groups
* common tags/roles for groups
* fix default names in UI state
* hexagon corner
* secondary lamp icon
* fix selection bugs in device form
* select all/none hotkey
* quick assign modal
This commit is contained in:
2023-10-21 14:02:49 +02:00
parent f00575fd7f
commit 5fee980f79
39 changed files with 873 additions and 47 deletions
@@ -132,11 +132,19 @@
state.update(state => {
if (patch.full != null) {
state = patch.full;
for (const deviceId in state.devices) {
if (deviceId.startsWith("nanoleaf:") && deviceId.split(":").length === 2) {
delete state.devices[deviceId];
}
}
}
for (const deviceId in patch.devices) {
if (!patch.devices.hasOwnProperty(deviceId)) {
continue
continue;;
}
if (deviceId.startsWith("nanoleaf:") && deviceId.split(":").length === 2) {
continue;
}
state.devices = {...state.devices}