@kohost/api-client 3.3.12 → 3.3.14

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.
@@ -17,6 +17,7 @@ export type SupportedNotifications = (
17
17
  | "acMainsReconnected"
18
18
  | "replaceBatterySoon"
19
19
  | "replaceBatteryNow"
20
+ | "batteryOk"
20
21
  | "hardwareFailure"
21
22
  | "softwareFailure"
22
23
  | "hardwareFailureWithCode"
@@ -30,6 +31,8 @@ export type SupportedNotifications = (
30
31
  | "scheduleMaintenance"
31
32
  | "doorAjar"
32
33
  | "communicationFailure"
34
+ | "burglarAlarm"
35
+ | "fireAlarm"
33
36
  )[];
34
37
  export type Notification = {
35
38
  name?:
@@ -44,6 +47,7 @@ export type Notification = {
44
47
  | "acMainsReconnected"
45
48
  | "replaceBatterySoon"
46
49
  | "replaceBatteryNow"
50
+ | "batteryOk"
47
51
  | "hardwareFailure"
48
52
  | "softwareFailure"
49
53
  | "hardwareFailureWithCode"
@@ -56,7 +60,9 @@ export type Notification = {
56
60
  | "outsideSafeHumidityRange"
57
61
  | "scheduleMaintenance"
58
62
  | "doorAjar"
59
- | "communicationFailure";
63
+ | "communicationFailure"
64
+ | "burglarAlarm"
65
+ | "fireAlarm";
60
66
  timestamp?: number;
61
67
  description?: string;
62
68
  [k: string]: unknown;
@@ -73,6 +79,7 @@ export type Notification = {
73
79
  | "acMainsReconnected"
74
80
  | "replaceBatterySoon"
75
81
  | "replaceBatteryNow"
82
+ | "batteryOk"
76
83
  | "hardwareFailure"
77
84
  | "softwareFailure"
78
85
  | "hardwareFailureWithCode"
@@ -85,7 +92,9 @@ export type Notification = {
85
92
  | "outsideSafeHumidityRange"
86
93
  | "scheduleMaintenance"
87
94
  | "doorAjar"
88
- | "communicationFailure";
95
+ | "communicationFailure"
96
+ | "burglarAlarm"
97
+ | "fireAlarm";
89
98
  timestamp?: number;
90
99
  description?: string;
91
100
  [k: string]: unknown;
@@ -17,6 +17,7 @@ export type SupportedNotifications = (
17
17
  | "acMainsReconnected"
18
18
  | "replaceBatterySoon"
19
19
  | "replaceBatteryNow"
20
+ | "batteryOk"
20
21
  | "hardwareFailure"
21
22
  | "softwareFailure"
22
23
  | "hardwareFailureWithCode"
@@ -30,6 +31,8 @@ export type SupportedNotifications = (
30
31
  | "scheduleMaintenance"
31
32
  | "doorAjar"
32
33
  | "communicationFailure"
34
+ | "burglarAlarm"
35
+ | "fireAlarm"
33
36
  )[];
34
37
  export type Notification = {
35
38
  name?:
@@ -44,6 +47,7 @@ export type Notification = {
44
47
  | "acMainsReconnected"
45
48
  | "replaceBatterySoon"
46
49
  | "replaceBatteryNow"
50
+ | "batteryOk"
47
51
  | "hardwareFailure"
48
52
  | "softwareFailure"
49
53
  | "hardwareFailureWithCode"
@@ -56,7 +60,9 @@ export type Notification = {
56
60
  | "outsideSafeHumidityRange"
57
61
  | "scheduleMaintenance"
58
62
  | "doorAjar"
59
- | "communicationFailure";
63
+ | "communicationFailure"
64
+ | "burglarAlarm"
65
+ | "fireAlarm";
60
66
  timestamp?: number;
61
67
  description?: string;
62
68
  [k: string]: unknown;
@@ -73,6 +79,7 @@ export type Notification = {
73
79
  | "acMainsReconnected"
74
80
  | "replaceBatterySoon"
75
81
  | "replaceBatteryNow"
82
+ | "batteryOk"
76
83
  | "hardwareFailure"
77
84
  | "softwareFailure"
78
85
  | "hardwareFailureWithCode"
@@ -85,7 +92,9 @@ export type Notification = {
85
92
  | "outsideSafeHumidityRange"
86
93
  | "scheduleMaintenance"
87
94
  | "doorAjar"
88
- | "communicationFailure";
95
+ | "communicationFailure"
96
+ | "burglarAlarm"
97
+ | "fireAlarm";
89
98
  timestamp?: number;
90
99
  description?: string;
91
100
  [k: string]: unknown;
@@ -17,6 +17,7 @@ export type SupportedNotifications = (
17
17
  | "acMainsReconnected"
18
18
  | "replaceBatterySoon"
19
19
  | "replaceBatteryNow"
20
+ | "batteryOk"
20
21
  | "hardwareFailure"
21
22
  | "softwareFailure"
22
23
  | "hardwareFailureWithCode"
@@ -30,6 +31,8 @@ export type SupportedNotifications = (
30
31
  | "scheduleMaintenance"
31
32
  | "doorAjar"
32
33
  | "communicationFailure"
34
+ | "burglarAlarm"
35
+ | "fireAlarm"
33
36
  )[];
34
37
  export type Notification = {
35
38
  name?:
@@ -44,6 +47,7 @@ export type Notification = {
44
47
  | "acMainsReconnected"
45
48
  | "replaceBatterySoon"
46
49
  | "replaceBatteryNow"
50
+ | "batteryOk"
47
51
  | "hardwareFailure"
48
52
  | "softwareFailure"
49
53
  | "hardwareFailureWithCode"
@@ -56,7 +60,9 @@ export type Notification = {
56
60
  | "outsideSafeHumidityRange"
57
61
  | "scheduleMaintenance"
58
62
  | "doorAjar"
59
- | "communicationFailure";
63
+ | "communicationFailure"
64
+ | "burglarAlarm"
65
+ | "fireAlarm";
60
66
  timestamp?: number;
61
67
  description?: string;
62
68
  [k: string]: unknown;
@@ -73,6 +79,7 @@ export type Notification = {
73
79
  | "acMainsReconnected"
74
80
  | "replaceBatterySoon"
75
81
  | "replaceBatteryNow"
82
+ | "batteryOk"
76
83
  | "hardwareFailure"
77
84
  | "softwareFailure"
78
85
  | "hardwareFailureWithCode"
@@ -85,7 +92,9 @@ export type Notification = {
85
92
  | "outsideSafeHumidityRange"
86
93
  | "scheduleMaintenance"
87
94
  | "doorAjar"
88
- | "communicationFailure";
95
+ | "communicationFailure"
96
+ | "burglarAlarm"
97
+ | "fireAlarm";
89
98
  timestamp?: number;
90
99
  description?: string;
91
100
  [k: string]: unknown;
@@ -17,6 +17,7 @@ export type SupportedNotifications = (
17
17
  | "acMainsReconnected"
18
18
  | "replaceBatterySoon"
19
19
  | "replaceBatteryNow"
20
+ | "batteryOk"
20
21
  | "hardwareFailure"
21
22
  | "softwareFailure"
22
23
  | "hardwareFailureWithCode"
@@ -30,6 +31,8 @@ export type SupportedNotifications = (
30
31
  | "scheduleMaintenance"
31
32
  | "doorAjar"
32
33
  | "communicationFailure"
34
+ | "burglarAlarm"
35
+ | "fireAlarm"
33
36
  )[];
34
37
  export type Notification = {
35
38
  name?:
@@ -44,6 +47,7 @@ export type Notification = {
44
47
  | "acMainsReconnected"
45
48
  | "replaceBatterySoon"
46
49
  | "replaceBatteryNow"
50
+ | "batteryOk"
47
51
  | "hardwareFailure"
48
52
  | "softwareFailure"
49
53
  | "hardwareFailureWithCode"
@@ -56,7 +60,9 @@ export type Notification = {
56
60
  | "outsideSafeHumidityRange"
57
61
  | "scheduleMaintenance"
58
62
  | "doorAjar"
59
- | "communicationFailure";
63
+ | "communicationFailure"
64
+ | "burglarAlarm"
65
+ | "fireAlarm";
60
66
  timestamp?: number;
61
67
  description?: string;
62
68
  [k: string]: unknown;
@@ -73,6 +79,7 @@ export type Notification = {
73
79
  | "acMainsReconnected"
74
80
  | "replaceBatterySoon"
75
81
  | "replaceBatteryNow"
82
+ | "batteryOk"
76
83
  | "hardwareFailure"
77
84
  | "softwareFailure"
78
85
  | "hardwareFailureWithCode"
@@ -85,7 +92,9 @@ export type Notification = {
85
92
  | "outsideSafeHumidityRange"
86
93
  | "scheduleMaintenance"
87
94
  | "doorAjar"
88
- | "communicationFailure";
95
+ | "communicationFailure"
96
+ | "burglarAlarm"
97
+ | "fireAlarm";
89
98
  timestamp?: number;
90
99
  description?: string;
91
100
  [k: string]: unknown;
@@ -17,6 +17,7 @@ export type SupportedNotifications = (
17
17
  | "acMainsReconnected"
18
18
  | "replaceBatterySoon"
19
19
  | "replaceBatteryNow"
20
+ | "batteryOk"
20
21
  | "hardwareFailure"
21
22
  | "softwareFailure"
22
23
  | "hardwareFailureWithCode"
@@ -30,6 +31,8 @@ export type SupportedNotifications = (
30
31
  | "scheduleMaintenance"
31
32
  | "doorAjar"
32
33
  | "communicationFailure"
34
+ | "burglarAlarm"
35
+ | "fireAlarm"
33
36
  )[];
34
37
  export type Notification = {
35
38
  name?:
@@ -44,6 +47,7 @@ export type Notification = {
44
47
  | "acMainsReconnected"
45
48
  | "replaceBatterySoon"
46
49
  | "replaceBatteryNow"
50
+ | "batteryOk"
47
51
  | "hardwareFailure"
48
52
  | "softwareFailure"
49
53
  | "hardwareFailureWithCode"
@@ -56,7 +60,9 @@ export type Notification = {
56
60
  | "outsideSafeHumidityRange"
57
61
  | "scheduleMaintenance"
58
62
  | "doorAjar"
59
- | "communicationFailure";
63
+ | "communicationFailure"
64
+ | "burglarAlarm"
65
+ | "fireAlarm";
60
66
  timestamp?: number;
61
67
  description?: string;
62
68
  [k: string]: unknown;
@@ -73,6 +79,7 @@ export type Notification = {
73
79
  | "acMainsReconnected"
74
80
  | "replaceBatterySoon"
75
81
  | "replaceBatteryNow"
82
+ | "batteryOk"
76
83
  | "hardwareFailure"
77
84
  | "softwareFailure"
78
85
  | "hardwareFailureWithCode"
@@ -85,7 +92,9 @@ export type Notification = {
85
92
  | "outsideSafeHumidityRange"
86
93
  | "scheduleMaintenance"
87
94
  | "doorAjar"
88
- | "communicationFailure";
95
+ | "communicationFailure"
96
+ | "burglarAlarm"
97
+ | "fireAlarm";
89
98
  timestamp?: number;
90
99
  description?: string;
91
100
  [k: string]: unknown;
@@ -17,6 +17,7 @@ export type SupportedNotifications = (
17
17
  | "acMainsReconnected"
18
18
  | "replaceBatterySoon"
19
19
  | "replaceBatteryNow"
20
+ | "batteryOk"
20
21
  | "hardwareFailure"
21
22
  | "softwareFailure"
22
23
  | "hardwareFailureWithCode"
@@ -30,6 +31,8 @@ export type SupportedNotifications = (
30
31
  | "scheduleMaintenance"
31
32
  | "doorAjar"
32
33
  | "communicationFailure"
34
+ | "burglarAlarm"
35
+ | "fireAlarm"
33
36
  )[];
34
37
  export type Notification = {
35
38
  name?:
@@ -44,6 +47,7 @@ export type Notification = {
44
47
  | "acMainsReconnected"
45
48
  | "replaceBatterySoon"
46
49
  | "replaceBatteryNow"
50
+ | "batteryOk"
47
51
  | "hardwareFailure"
48
52
  | "softwareFailure"
49
53
  | "hardwareFailureWithCode"
@@ -56,7 +60,9 @@ export type Notification = {
56
60
  | "outsideSafeHumidityRange"
57
61
  | "scheduleMaintenance"
58
62
  | "doorAjar"
59
- | "communicationFailure";
63
+ | "communicationFailure"
64
+ | "burglarAlarm"
65
+ | "fireAlarm";
60
66
  timestamp?: number;
61
67
  description?: string;
62
68
  [k: string]: unknown;
@@ -73,6 +79,7 @@ export type Notification = {
73
79
  | "acMainsReconnected"
74
80
  | "replaceBatterySoon"
75
81
  | "replaceBatteryNow"
82
+ | "batteryOk"
76
83
  | "hardwareFailure"
77
84
  | "softwareFailure"
78
85
  | "hardwareFailureWithCode"
@@ -85,7 +92,9 @@ export type Notification = {
85
92
  | "outsideSafeHumidityRange"
86
93
  | "scheduleMaintenance"
87
94
  | "doorAjar"
88
- | "communicationFailure";
95
+ | "communicationFailure"
96
+ | "burglarAlarm"
97
+ | "fireAlarm";
89
98
  timestamp?: number;
90
99
  description?: string;
91
100
  [k: string]: unknown;
@@ -17,6 +17,7 @@ export type SupportedNotifications = (
17
17
  | "acMainsReconnected"
18
18
  | "replaceBatterySoon"
19
19
  | "replaceBatteryNow"
20
+ | "batteryOk"
20
21
  | "hardwareFailure"
21
22
  | "softwareFailure"
22
23
  | "hardwareFailureWithCode"
@@ -30,6 +31,8 @@ export type SupportedNotifications = (
30
31
  | "scheduleMaintenance"
31
32
  | "doorAjar"
32
33
  | "communicationFailure"
34
+ | "burglarAlarm"
35
+ | "fireAlarm"
33
36
  )[];
34
37
  export type Notification = {
35
38
  name?:
@@ -44,6 +47,7 @@ export type Notification = {
44
47
  | "acMainsReconnected"
45
48
  | "replaceBatterySoon"
46
49
  | "replaceBatteryNow"
50
+ | "batteryOk"
47
51
  | "hardwareFailure"
48
52
  | "softwareFailure"
49
53
  | "hardwareFailureWithCode"
@@ -56,7 +60,9 @@ export type Notification = {
56
60
  | "outsideSafeHumidityRange"
57
61
  | "scheduleMaintenance"
58
62
  | "doorAjar"
59
- | "communicationFailure";
63
+ | "communicationFailure"
64
+ | "burglarAlarm"
65
+ | "fireAlarm";
60
66
  timestamp?: number;
61
67
  description?: string;
62
68
  [k: string]: unknown;
@@ -73,6 +79,7 @@ export type Notification = {
73
79
  | "acMainsReconnected"
74
80
  | "replaceBatterySoon"
75
81
  | "replaceBatteryNow"
82
+ | "batteryOk"
76
83
  | "hardwareFailure"
77
84
  | "softwareFailure"
78
85
  | "hardwareFailureWithCode"
@@ -85,7 +92,9 @@ export type Notification = {
85
92
  | "outsideSafeHumidityRange"
86
93
  | "scheduleMaintenance"
87
94
  | "doorAjar"
88
- | "communicationFailure";
95
+ | "communicationFailure"
96
+ | "burglarAlarm"
97
+ | "fireAlarm";
89
98
  timestamp?: number;
90
99
  description?: string;
91
100
  [k: string]: unknown;
@@ -17,6 +17,7 @@ export type SupportedNotifications = (
17
17
  | "acMainsReconnected"
18
18
  | "replaceBatterySoon"
19
19
  | "replaceBatteryNow"
20
+ | "batteryOk"
20
21
  | "hardwareFailure"
21
22
  | "softwareFailure"
22
23
  | "hardwareFailureWithCode"
@@ -30,6 +31,8 @@ export type SupportedNotifications = (
30
31
  | "scheduleMaintenance"
31
32
  | "doorAjar"
32
33
  | "communicationFailure"
34
+ | "burglarAlarm"
35
+ | "fireAlarm"
33
36
  )[];
34
37
  export type Notification = {
35
38
  name?:
@@ -44,6 +47,7 @@ export type Notification = {
44
47
  | "acMainsReconnected"
45
48
  | "replaceBatterySoon"
46
49
  | "replaceBatteryNow"
50
+ | "batteryOk"
47
51
  | "hardwareFailure"
48
52
  | "softwareFailure"
49
53
  | "hardwareFailureWithCode"
@@ -56,7 +60,9 @@ export type Notification = {
56
60
  | "outsideSafeHumidityRange"
57
61
  | "scheduleMaintenance"
58
62
  | "doorAjar"
59
- | "communicationFailure";
63
+ | "communicationFailure"
64
+ | "burglarAlarm"
65
+ | "fireAlarm";
60
66
  timestamp?: number;
61
67
  description?: string;
62
68
  [k: string]: unknown;
@@ -73,6 +79,7 @@ export type Notification = {
73
79
  | "acMainsReconnected"
74
80
  | "replaceBatterySoon"
75
81
  | "replaceBatteryNow"
82
+ | "batteryOk"
76
83
  | "hardwareFailure"
77
84
  | "softwareFailure"
78
85
  | "hardwareFailureWithCode"
@@ -85,7 +92,9 @@ export type Notification = {
85
92
  | "outsideSafeHumidityRange"
86
93
  | "scheduleMaintenance"
87
94
  | "doorAjar"
88
- | "communicationFailure";
95
+ | "communicationFailure"
96
+ | "burglarAlarm"
97
+ | "fireAlarm";
89
98
  timestamp?: number;
90
99
  description?: string;
91
100
  [k: string]: unknown;
@@ -17,6 +17,7 @@ export type SupportedNotifications = (
17
17
  | "acMainsReconnected"
18
18
  | "replaceBatterySoon"
19
19
  | "replaceBatteryNow"
20
+ | "batteryOk"
20
21
  | "hardwareFailure"
21
22
  | "softwareFailure"
22
23
  | "hardwareFailureWithCode"
@@ -30,6 +31,8 @@ export type SupportedNotifications = (
30
31
  | "scheduleMaintenance"
31
32
  | "doorAjar"
32
33
  | "communicationFailure"
34
+ | "burglarAlarm"
35
+ | "fireAlarm"
33
36
  )[];
34
37
  export type Notification = {
35
38
  name?:
@@ -44,6 +47,7 @@ export type Notification = {
44
47
  | "acMainsReconnected"
45
48
  | "replaceBatterySoon"
46
49
  | "replaceBatteryNow"
50
+ | "batteryOk"
47
51
  | "hardwareFailure"
48
52
  | "softwareFailure"
49
53
  | "hardwareFailureWithCode"
@@ -56,7 +60,9 @@ export type Notification = {
56
60
  | "outsideSafeHumidityRange"
57
61
  | "scheduleMaintenance"
58
62
  | "doorAjar"
59
- | "communicationFailure";
63
+ | "communicationFailure"
64
+ | "burglarAlarm"
65
+ | "fireAlarm";
60
66
  timestamp?: number;
61
67
  description?: string;
62
68
  [k: string]: unknown;
@@ -73,6 +79,7 @@ export type Notification = {
73
79
  | "acMainsReconnected"
74
80
  | "replaceBatterySoon"
75
81
  | "replaceBatteryNow"
82
+ | "batteryOk"
76
83
  | "hardwareFailure"
77
84
  | "softwareFailure"
78
85
  | "hardwareFailureWithCode"
@@ -85,7 +92,9 @@ export type Notification = {
85
92
  | "outsideSafeHumidityRange"
86
93
  | "scheduleMaintenance"
87
94
  | "doorAjar"
88
- | "communicationFailure";
95
+ | "communicationFailure"
96
+ | "burglarAlarm"
97
+ | "fireAlarm";
89
98
  timestamp?: number;
90
99
  description?: string;
91
100
  [k: string]: unknown;
@@ -232,6 +241,7 @@ export interface Switch {
232
241
  | "acMainsReconnected"
233
242
  | "replaceBatterySoon"
234
243
  | "replaceBatteryNow"
244
+ | "batteryOk"
235
245
  | "hardwareFailure"
236
246
  | "softwareFailure"
237
247
  | "hardwareFailureWithCode"
@@ -244,7 +254,9 @@ export interface Switch {
244
254
  | "outsideSafeHumidityRange"
245
255
  | "scheduleMaintenance"
246
256
  | "doorAjar"
247
- | "communicationFailure";
257
+ | "communicationFailure"
258
+ | "burglarAlarm"
259
+ | "fireAlarm";
248
260
  timestamp?: number;
249
261
  description?: string;
250
262
  [k: string]: unknown;
@@ -370,6 +382,7 @@ export interface Thermostat {
370
382
  | "acMainsReconnected"
371
383
  | "replaceBatterySoon"
372
384
  | "replaceBatteryNow"
385
+ | "batteryOk"
373
386
  | "hardwareFailure"
374
387
  | "softwareFailure"
375
388
  | "hardwareFailureWithCode"
@@ -382,7 +395,9 @@ export interface Thermostat {
382
395
  | "outsideSafeHumidityRange"
383
396
  | "scheduleMaintenance"
384
397
  | "doorAjar"
385
- | "communicationFailure";
398
+ | "communicationFailure"
399
+ | "burglarAlarm"
400
+ | "fireAlarm";
386
401
  timestamp?: number;
387
402
  description?: string;
388
403
  [k: string]: unknown;
@@ -460,6 +475,7 @@ export interface Lock {
460
475
  | "acMainsReconnected"
461
476
  | "replaceBatterySoon"
462
477
  | "replaceBatteryNow"
478
+ | "batteryOk"
463
479
  | "hardwareFailure"
464
480
  | "softwareFailure"
465
481
  | "hardwareFailureWithCode"
@@ -472,7 +488,9 @@ export interface Lock {
472
488
  | "outsideSafeHumidityRange"
473
489
  | "scheduleMaintenance"
474
490
  | "doorAjar"
475
- | "communicationFailure";
491
+ | "communicationFailure"
492
+ | "burglarAlarm"
493
+ | "fireAlarm";
476
494
  timestamp?: number;
477
495
  description?: string;
478
496
  [k: string]: unknown;
@@ -564,6 +582,7 @@ export interface WindowCovering {
564
582
  | "acMainsReconnected"
565
583
  | "replaceBatterySoon"
566
584
  | "replaceBatteryNow"
585
+ | "batteryOk"
567
586
  | "hardwareFailure"
568
587
  | "softwareFailure"
569
588
  | "hardwareFailureWithCode"
@@ -576,7 +595,9 @@ export interface WindowCovering {
576
595
  | "outsideSafeHumidityRange"
577
596
  | "scheduleMaintenance"
578
597
  | "doorAjar"
579
- | "communicationFailure";
598
+ | "communicationFailure"
599
+ | "burglarAlarm"
600
+ | "fireAlarm";
580
601
  timestamp?: number;
581
602
  description?: string;
582
603
  [k: string]: unknown;
@@ -663,6 +684,7 @@ export interface Courtesy {
663
684
  | "acMainsReconnected"
664
685
  | "replaceBatterySoon"
665
686
  | "replaceBatteryNow"
687
+ | "batteryOk"
666
688
  | "hardwareFailure"
667
689
  | "softwareFailure"
668
690
  | "hardwareFailureWithCode"
@@ -675,7 +697,9 @@ export interface Courtesy {
675
697
  | "outsideSafeHumidityRange"
676
698
  | "scheduleMaintenance"
677
699
  | "doorAjar"
678
- | "communicationFailure";
700
+ | "communicationFailure"
701
+ | "burglarAlarm"
702
+ | "fireAlarm";
679
703
  timestamp?: number;
680
704
  description?: string;
681
705
  [k: string]: unknown;
@@ -764,6 +788,7 @@ export interface Camera {
764
788
  | "acMainsReconnected"
765
789
  | "replaceBatterySoon"
766
790
  | "replaceBatteryNow"
791
+ | "batteryOk"
767
792
  | "hardwareFailure"
768
793
  | "softwareFailure"
769
794
  | "hardwareFailureWithCode"
@@ -776,7 +801,9 @@ export interface Camera {
776
801
  | "outsideSafeHumidityRange"
777
802
  | "scheduleMaintenance"
778
803
  | "doorAjar"
779
- | "communicationFailure";
804
+ | "communicationFailure"
805
+ | "burglarAlarm"
806
+ | "fireAlarm";
780
807
  timestamp?: number;
781
808
  description?: string;
782
809
  [k: string]: unknown;
@@ -1037,6 +1064,7 @@ export interface MediaSource {
1037
1064
  | "acMainsReconnected"
1038
1065
  | "replaceBatterySoon"
1039
1066
  | "replaceBatteryNow"
1067
+ | "batteryOk"
1040
1068
  | "hardwareFailure"
1041
1069
  | "softwareFailure"
1042
1070
  | "hardwareFailureWithCode"
@@ -1049,7 +1077,9 @@ export interface MediaSource {
1049
1077
  | "outsideSafeHumidityRange"
1050
1078
  | "scheduleMaintenance"
1051
1079
  | "doorAjar"
1052
- | "communicationFailure";
1080
+ | "communicationFailure"
1081
+ | "burglarAlarm"
1082
+ | "fireAlarm";
1053
1083
  timestamp?: number;
1054
1084
  description?: string;
1055
1085
  [k: string]: unknown;
@@ -1133,6 +1163,7 @@ export interface MotionSensor {
1133
1163
  | "acMainsReconnected"
1134
1164
  | "replaceBatterySoon"
1135
1165
  | "replaceBatteryNow"
1166
+ | "batteryOk"
1136
1167
  | "hardwareFailure"
1137
1168
  | "softwareFailure"
1138
1169
  | "hardwareFailureWithCode"
@@ -1145,7 +1176,9 @@ export interface MotionSensor {
1145
1176
  | "outsideSafeHumidityRange"
1146
1177
  | "scheduleMaintenance"
1147
1178
  | "doorAjar"
1148
- | "communicationFailure";
1179
+ | "communicationFailure"
1180
+ | "burglarAlarm"
1181
+ | "fireAlarm";
1149
1182
  timestamp?: number;
1150
1183
  description?: string;
1151
1184
  [k: string]: unknown;
@@ -1192,6 +1225,7 @@ export interface Alarm {
1192
1225
  | "acMainsReconnected"
1193
1226
  | "replaceBatterySoon"
1194
1227
  | "replaceBatteryNow"
1228
+ | "batteryOk"
1195
1229
  | "hardwareFailure"
1196
1230
  | "softwareFailure"
1197
1231
  | "hardwareFailureWithCode"
@@ -1204,7 +1238,9 @@ export interface Alarm {
1204
1238
  | "outsideSafeHumidityRange"
1205
1239
  | "scheduleMaintenance"
1206
1240
  | "doorAjar"
1207
- | "communicationFailure";
1241
+ | "communicationFailure"
1242
+ | "burglarAlarm"
1243
+ | "fireAlarm";
1208
1244
  timestamp?: number;
1209
1245
  description?: string;
1210
1246
  [k: string]: unknown;
@@ -17,6 +17,7 @@ export type SupportedNotifications = (
17
17
  | "acMainsReconnected"
18
18
  | "replaceBatterySoon"
19
19
  | "replaceBatteryNow"
20
+ | "batteryOk"
20
21
  | "hardwareFailure"
21
22
  | "softwareFailure"
22
23
  | "hardwareFailureWithCode"
@@ -30,6 +31,8 @@ export type SupportedNotifications = (
30
31
  | "scheduleMaintenance"
31
32
  | "doorAjar"
32
33
  | "communicationFailure"
34
+ | "burglarAlarm"
35
+ | "fireAlarm"
33
36
  )[];
34
37
  export type Notification = {
35
38
  name?:
@@ -44,6 +47,7 @@ export type Notification = {
44
47
  | "acMainsReconnected"
45
48
  | "replaceBatterySoon"
46
49
  | "replaceBatteryNow"
50
+ | "batteryOk"
47
51
  | "hardwareFailure"
48
52
  | "softwareFailure"
49
53
  | "hardwareFailureWithCode"
@@ -56,7 +60,9 @@ export type Notification = {
56
60
  | "outsideSafeHumidityRange"
57
61
  | "scheduleMaintenance"
58
62
  | "doorAjar"
59
- | "communicationFailure";
63
+ | "communicationFailure"
64
+ | "burglarAlarm"
65
+ | "fireAlarm";
60
66
  timestamp?: number;
61
67
  description?: string;
62
68
  [k: string]: unknown;
@@ -73,6 +79,7 @@ export type Notification = {
73
79
  | "acMainsReconnected"
74
80
  | "replaceBatterySoon"
75
81
  | "replaceBatteryNow"
82
+ | "batteryOk"
76
83
  | "hardwareFailure"
77
84
  | "softwareFailure"
78
85
  | "hardwareFailureWithCode"
@@ -85,7 +92,9 @@ export type Notification = {
85
92
  | "outsideSafeHumidityRange"
86
93
  | "scheduleMaintenance"
87
94
  | "doorAjar"
88
- | "communicationFailure";
95
+ | "communicationFailure"
96
+ | "burglarAlarm"
97
+ | "fireAlarm";
89
98
  timestamp?: number;
90
99
  description?: string;
91
100
  [k: string]: unknown;