@ledvance/base 1.1.34 → 1.1.35

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.
@@ -5,7 +5,7 @@ export interface NativeProps {
5
5
  familyName: string;
6
6
  deviceInfo: DeviceInfo;
7
7
  uaGroupInfo: UAGroupInfo;
8
- timeSchedule?: symbol;
8
+ timeSchedule?: boolean;
9
9
  energieverbrauch?: object;
10
10
  }
11
11
  export interface DeviceInfo {
@@ -34,7 +34,7 @@ interface DpState {
34
34
  [dpCode: string]: DpValue;
35
35
  }
36
36
  declare const useDeviceInfo: () => DevInfo<DpState>;
37
- declare const useTimeSchedule: () => [v: symbol | undefined, f: any];
37
+ declare const useTimeSchedule: () => [v: boolean | undefined, f: any];
38
38
  declare const useEnergieverbrauch: () => (object | undefined)[];
39
39
  export declare const useEngergyGeneration: () => boolean;
40
40
  export declare function useUAGroupInfo(): UAGroupInfo;
@@ -48,6 +48,7 @@ export declare function useGroupConfig<T>(): [T, (dps: any, newConfig: T) => Pro
48
48
  export declare function useGroupConfigFeature<GC, GCPT extends {
49
49
  [K in keyof GC]: GC[K];
50
50
  }[keyof GC]>(key: keyof GC, extraDps?: any): [GCPT, (value: GCPT, dpValue: any) => Promise<Result<any>>];
51
+ export declare const useFanMaxSpeed: () => 3 | 20;
51
52
  export declare const ldvModules: import("@reduxjs/toolkit").Reducer<NativeProps, import("@reduxjs/toolkit").AnyAction>;
52
53
  export declare const setNativeProps: import("@reduxjs/toolkit").ActionCreatorWithPayload<NativeProps, string>, setGroupNativeProps: import("@reduxjs/toolkit").ActionCreatorWithPayload<NativeProps, string>, setDps: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>, setTimeSchedule: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>, setEnergieverbrauch: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
53
54
  export { asyncSetDps, simpleSetDps, simpleSetDp, useDeviceId, useDeviceInfo, useDp, useScaledDp, useDps, useFamilyName, useTimeSchedule, useEnergieverbrauch, };
@@ -7,16 +7,39 @@ declare const _default: {
7
7
  ldv_timer_empty: string;
8
8
  ldv_right_arrow: string;
9
9
  ldv_list_select: string;
10
+ switch_1: string;
11
+ switch_2: string;
12
+ switch_3: string;
13
+ switch_4: string;
14
+ ic_cancel: string;
15
+ ic_more: string;
16
+ device_panel_timer_add: any;
17
+ device_panel_schedule_alert: string;
18
+ device_panel_schedule_add: string;
19
+ ic_arrows_nav_clear: any;
20
+ ic_info: string;
21
+ ic_warning_amber: any;
10
22
  ic_check: string;
11
- ic_uncheck: string;
23
+ ic_uncheck: any;
24
+ rn_ic_download: string;
25
+ scheduleEmpty: any;
26
+ summary_icon1: any;
27
+ summary_icon2: any;
28
+ summary_icon3: any;
29
+ energy_consumption_right: any;
30
+ energy_consumption_chart: any;
31
+ energy_consumption_cash: any;
32
+ energy_consumption_greenery: any;
33
+ app_music_check: any;
34
+ co2Icon: any;
35
+ download_icon: any;
36
+ energy_consumption_empty: any;
12
37
  rhythm_icon1: string;
13
38
  rhythm_icon2: string;
14
39
  rhythm_icon3: string;
15
40
  rhythm_icon4: string;
16
41
  color_temperature_wheel: string;
17
42
  color_wheel: string;
18
- ic_more: string;
19
- ic_cancel: string;
20
43
  scene_goodnight: string;
21
44
  scene_reading: string;
22
45
  scene_work: string;
@@ -27,14 +50,13 @@ declare const _default: {
27
50
  add: string;
28
51
  delete: string;
29
52
  icon_edit_scene: string;
30
- device_panel_timer_add: any;
31
- device_panel_schedule_add: string;
32
- device_panel_schedule_alert: string;
33
- ic_arrows_nav_clear: any;
34
- ic_info: string;
35
- ic_warning_amber: string;
36
- rn_ic_download: string;
37
53
  light_on: any;
38
54
  light_off: any;
55
+ rn_image_contact_sensor_open: string;
56
+ rn_image_contact_sensor_close: string;
57
+ rn_image_motion_detected: string;
58
+ rn_image_no_motion_detected: string;
59
+ sensor_status: any;
60
+ automation_status: any;
39
61
  };
40
62
  export default _default;
@@ -5,5 +5,9 @@ export declare const isRGBWLamp: (dpCodes: Record<string, string>) => boolean;
5
5
  export declare const isRGBLamp: (dpCodes: Record<string, string>) => boolean;
6
6
  export declare const isOnlyRGBLamp: (dpCodes: Record<string, string>) => boolean;
7
7
  export declare const isTWLamp: (dpCodes: Record<string, string>) => boolean;
8
+ export declare const isFanLamp: (dpCodes: Record<string, string>) => boolean;
8
9
  export declare const isDIMLamp: (dpCodes: Record<string, string>) => boolean;
9
10
  export declare const isGARDOT: (dpCodes: Record<string, string>) => boolean;
11
+ export declare const isSupportColor: (dpCodes: Record<string, string>) => boolean;
12
+ export declare const isSupportTemperature: (dpCodes: Record<string, string>) => boolean;
13
+ export declare const isSupportBrightness: (dpCodes: Record<string, string>) => boolean;