add module ambient lighting (#142)
This commit is contained in:
1 parent
68b207b67f
commit
3ec9f6d322
4 files changed
+101
-3
No files matched your search
@@ -214,11 +214,14 @@ export const useDeviceStore = create<DeviceState>((set, get) => ({
|
||||
case "audio":
|
||||
device.moduleConfig.audio = config.payloadVariant.value;
|
||||
break;
|
||||
case "neighborInfo":
|
||||
device.moduleConfig.neighborInfo = config.payloadVariant.value;
|
||||
break;
|
||||
case "ambientLighting":
|
||||
device.moduleConfig.ambientLighting = config.payloadVariant.value;
|
||||
break;
|
||||
case "detectionSensor":
|
||||
device.moduleConfig.detectionSensor = config.payloadVariant.value;
|
||||
break;
|
||||
case "neighborInfo":
|
||||
device.moduleConfig.neighborInfo = config.payloadVariant.value;
|
||||
}
|
||||
}
|
||||
}),
|
||||
|
||||
Reference in new issue
Block a user