@ledvance/base 1.2.95 → 1.2.97

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -42,6 +42,7 @@ export interface UAGroupInfo {
42
42
  config: any
43
43
  groupDevices: GroupDeviceInfo[]
44
44
  name: string
45
+ deviceIds: string[]
45
46
  }
46
47
 
47
48
  const initialState: NativeProps = {
@@ -58,7 +59,8 @@ const initialState: NativeProps = {
58
59
  dps: {},
59
60
  config: {},
60
61
  groupDevices: [],
61
- name: ''
62
+ name: '',
63
+ deviceIds: []
62
64
  },
63
65
  timeSchedule: false,
64
66
  energieverbrauch: {},
@@ -117,6 +119,7 @@ const nativePropsSlice = createSlice({
117
119
  }
118
120
  state.uaGroupInfo.dps = { ...state.uaGroupInfo.dps, ...action.payload.uaGroupInfo.dps }
119
121
  state.uaGroupInfo.config = action.payload.uaGroupInfo.config
122
+ state.uaGroupInfo.deviceIds = action.payload.uaGroupInfo.deviceIds ?? []
120
123
  },
121
124
  setGroupConfig: (state, action: PayloadAction<any>) => {
122
125
  state.uaGroupInfo.config = { ...state.uaGroupInfo.config, ...action.payload }
package/translateKey.txt CHANGED
@@ -860,3 +860,7 @@ settings_smokealarm
860
860
  settings_smokealarmrecovery
861
861
  sensor_deviceselftest
862
862
  sensor_deviceselftestfail
863
+ smoke_alertfree
864
+ CO_alertfree
865
+ waterleakage_alertfree
866
+ mute_smokealarm