@ledvance/base 1.3.110 → 1.3.112
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/localazy.json +10 -1
- package/package.json +1 -1
- package/src/components/BatteryPercentageView.tsx +9 -2
- package/src/components/OptionGroup.tsx +1 -0
- package/src/i18n/strings.ts +302 -32
- package/src/models/modules/NativePropsSlice.tsx +5 -0
- package/src/res/index.ts +2 -0
- package/src/utils/interface.ts +9 -1
- package/translateKey.txt +10 -1
|
@@ -245,6 +245,10 @@ const useDeviceId = () => {
|
|
|
245
245
|
return useSelector(store => store.ldvModules.deviceInfo.devId)
|
|
246
246
|
}
|
|
247
247
|
|
|
248
|
+
const usePid = () => {
|
|
249
|
+
return useSelector(store => store.ldvModules.deviceInfo.pId)
|
|
250
|
+
}
|
|
251
|
+
|
|
248
252
|
const useDeviceCategory = () => {
|
|
249
253
|
return useSelector(store => store.ldvModules.deviceInfo.category)
|
|
250
254
|
}
|
|
@@ -532,6 +536,7 @@ export {
|
|
|
532
536
|
simpleSetDps,
|
|
533
537
|
simpleSetDp,
|
|
534
538
|
useDeviceId,
|
|
539
|
+
usePid,
|
|
535
540
|
useDeviceInfo,
|
|
536
541
|
useDp,
|
|
537
542
|
useInitialDp,
|
package/src/res/index.ts
CHANGED
|
@@ -85,6 +85,7 @@ export default {
|
|
|
85
85
|
leverkusen_icon: 'leverkusen_icon',
|
|
86
86
|
olympic_icon: 'olympic',
|
|
87
87
|
ic_refresh: 'refresh',
|
|
88
|
+
ic_reset_energy: 'icons_reset_energy',
|
|
88
89
|
ic_co_alert_effect: 'pic_co_alert_effect',
|
|
89
90
|
ic_co_alert_free: 'pic_co_alert_free',
|
|
90
91
|
ic_smoke_alert_effect: 'pic_smoke_alert_effct',
|
|
@@ -92,6 +93,7 @@ export default {
|
|
|
92
93
|
ic_water_alert_effect: 'pic_water_alert_effct',
|
|
93
94
|
ic_water_alert_free: 'pic_water_alert_free',
|
|
94
95
|
flag_icon: 'flag_icon',
|
|
96
|
+
latam_flags: 'latam_flags',
|
|
95
97
|
arrow_temp_up: 'arrow_temp_up',
|
|
96
98
|
arrow_temp_down: 'arrow_temp_down',
|
|
97
99
|
arrow_left: 'materialicons_outlined_arrows_nav_keyboard_arrow_left',
|
package/src/utils/interface.ts
CHANGED
|
@@ -11,7 +11,7 @@ export enum WorkMode {
|
|
|
11
11
|
LoveScene = 'love_scene'
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
export type Category = 'light' | 'socket' | 'fan' | 'mainLight' | 'secondaryLight' | 'shutter' | 'osramFan'
|
|
14
|
+
export type Category = 'light' | 'socket' | 'fan' | 'mainLight' | 'secondaryLight' | 'shutter' | 'osramFan' | 'siren'
|
|
15
15
|
|
|
16
16
|
export interface ApplyForItem {
|
|
17
17
|
key: string;
|
|
@@ -110,3 +110,11 @@ export interface RoutineParam {
|
|
|
110
110
|
conditions?: RoutineCondition[]
|
|
111
111
|
tasks?: RoutineTask[]
|
|
112
112
|
}
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
export enum AlarmState {
|
|
116
|
+
AlarmSound = 'alarm_sound',
|
|
117
|
+
AlarmLight = 'alarm_light',
|
|
118
|
+
AlarmSoundAndLight = 'alarm_sound_light',
|
|
119
|
+
AlarmOff = 'normal'
|
|
120
|
+
}
|
package/translateKey.txt
CHANGED
|
@@ -1295,4 +1295,13 @@ country_BA
|
|
|
1295
1295
|
country_north_macedonia
|
|
1296
1296
|
country_werder_bremen
|
|
1297
1297
|
reset_energy
|
|
1298
|
-
thermostat_infotempcurve
|
|
1298
|
+
thermostat_infotempcurve
|
|
1299
|
+
latam_groups
|
|
1300
|
+
latam_group_format
|
|
1301
|
+
country_KR
|
|
1302
|
+
country_HT
|
|
1303
|
+
country_CW
|
|
1304
|
+
country_SN
|
|
1305
|
+
country_DZ
|
|
1306
|
+
country_UZ
|
|
1307
|
+
timeschedule_preset_format
|