@mp-consulting/homebridge-lg-thinq 1.0.22 → 1.0.24

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.
@@ -48,7 +48,7 @@ export default class Dishwasher extends BaseDevice {
48
48
  nameLengthCheck(newName: string): string;
49
49
  updateRinseLevel(): void;
50
50
  onStatus(): boolean;
51
- timerStatus(): 0 | 1;
51
+ timerStatus(): 1 | 0;
52
52
  getRinseLevel(): number;
53
53
  getDoorStatus(): boolean;
54
54
  getRinseLevelPercent(): number;
@@ -107,13 +107,13 @@ export default class Microwave extends BaseDevice {
107
107
  ovenCookingStartTime(): string;
108
108
  ovenCookingEndTime(): string;
109
109
  oventOptions(): string;
110
- currentHeatingState(): 0 | 1;
111
- targetHeatingState(): 0 | 1;
110
+ currentHeatingState(): 1 | 0;
111
+ targetHeatingState(): 1 | 0;
112
112
  updateOvenModeSwitch(): void;
113
113
  updateOvenModeSwitchNoPause(): void;
114
114
  getOperationTime(timeInSeconds: number): string;
115
115
  lightVentStatus(): string;
116
- ovenServiceActive(): 0 | 1;
116
+ ovenServiceActive(): 1 | 0;
117
117
  updateAccessoryCharacteristic(device: Device): void;
118
118
  update(snapshot: Record<string, unknown>): void;
119
119
  get Status(): MicrowaveStatus;
@@ -124,10 +124,10 @@ export default class Oven extends BaseDevice {
124
124
  ovenCookingEndTime(): string;
125
125
  oventOptions(): string;
126
126
  probeStatus(): string;
127
- probeCurrentState(): 0 | 1;
128
- probeTargetState(): 0 | 1;
129
- currentHeatingState(): 0 | 1;
130
- targetHeatingState(): 0 | 1;
127
+ probeCurrentState(): 1 | 0;
128
+ probeTargetState(): 1 | 0;
129
+ currentHeatingState(): 1 | 0;
130
+ targetHeatingState(): 1 | 0;
131
131
  createCook(key: string): void;
132
132
  burner1State(): string;
133
133
  burner2State(): string;
@@ -137,7 +137,7 @@ export default class Oven extends BaseDevice {
137
137
  updateOvenModeSwitch(): void;
138
138
  updateOvenModeSwitchNoPause(): void;
139
139
  getOperationTime(timeInSeconds: number): string;
140
- ovenServiceActive(): 0 | 1;
140
+ ovenServiceActive(): 1 | 0;
141
141
  updateAccessoryCharacteristic(device: Device): void;
142
142
  update(snapshot: Record<string, unknown>): void;
143
143
  }
@@ -23,7 +23,7 @@ export default class Refrigerator extends BaseDevice {
23
23
  setExpressMode(value: CharacteristicValue): Promise<void>;
24
24
  setExpressFridge(value: CharacteristicValue): Promise<void>;
25
25
  setEcoFriendly(value: CharacteristicValue): Promise<void>;
26
- tempUnit(): Promise<0 | 1>;
26
+ tempUnit(): Promise<1 | 0>;
27
27
  /**
28
28
  * create a thermostat service
29
29
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "LG ThinQ",
3
3
  "name": "@mp-consulting/homebridge-lg-thinq",
4
- "version": "1.0.22",
4
+ "version": "1.0.24",
5
5
  "description": "A Homebridge plugin for controlling/monitoring LG ThinQ devices via LG ThinQ platform.",
6
6
  "author": {
7
7
  "name": "Mickael Palma",
@@ -74,7 +74,7 @@
74
74
  "axios-retry": "^4.5.0",
75
75
  "class-validator": "^0.15.1",
76
76
  "commander": "^14.0.3",
77
- "homebridge-lib": "^7.3.2",
77
+ "homebridge-lib": "^8.0.0",
78
78
  "luxon": "^3.7.2",
79
79
  "node-forge": "^1.4.0",
80
80
  "node-persist": "^4.0.4",