@ledvance/base 1.3.52 → 1.3.54

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.
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "name": "@ledvance/base",
5
5
  "pid": [],
6
6
  "uiid": "",
7
- "version": "1.3.52",
7
+ "version": "1.3.54",
8
8
  "scripts": {
9
9
  "prepublishOnly": "python update-localazy.py"
10
10
  },
@@ -65,4 +65,4 @@ const ApplyForDeviceList = (props: ApplyForDeviceListProps) => {
65
65
  </View>
66
66
  }
67
67
 
68
- export default withTheme(ApplyForDeviceList)
68
+ export default withTheme(ApplyForDeviceList) as React.ComponentType<ApplyForDeviceListProps>
@@ -92,4 +92,4 @@ function SocketItem(props: SocketItemProps) {
92
92
  )
93
93
  }
94
94
 
95
- export default withTheme(SocketItem)
95
+ export default withTheme(SocketItem) as React.ComponentType<SocketItemProps>
@@ -149,6 +149,7 @@ const composeLayout = (component: React.ComponentType) => {
149
149
  config: {},
150
150
  groupDevices: []
151
151
  },
152
+ initialDps: {...dps, ...JSON.parse(ldvDevInfo.dps)},
152
153
  familyName: ldvDevInfo.familyName,
153
154
  role: ldvDevInfo.role,
154
155
  moods: [],
@@ -73,6 +73,7 @@ const initialState: NativeProps = {
73
73
  icon: undefined,
74
74
  deviceIds: []
75
75
  },
76
+ initialDps: {},
76
77
  timeSchedule: false,
77
78
  energieverbrauch: {},
78
79
  moods: [],
package/src/res/index.ts CHANGED
@@ -176,5 +176,5 @@ export default {
176
176
  shutter_stop: 'rn_button_stop',
177
177
  shutter_open: 'rn_button_open',
178
178
  shutter_close: 'rn_button_close',
179
- ic_checked: 'ic_marked_circleoutline',
179
+ ic_checked: 'rn_ic_marked_circleoutline',
180
180
  }