Skip to content

Commit bc4d654

Browse files
committed
update stop status
1 parent 1cd2458 commit bc4d654

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/devices/futurehome.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ const futurehomeExtend = {
172172
| "4: plugged_in"
173173
| "2: plugged_in_charging"
174174
| "3: plugged_in_paused"
175-
| "5X: running"
175+
| "5: stopped"
176176
| "8X: failure" = "plugged_out";
177177
let chargingOn = false;
178178

@@ -194,7 +194,7 @@ const futurehomeExtend = {
194194
chargingOn = false;
195195
break;
196196
case 0x05: // Running
197-
chargerStatus = "5X: running";
197+
chargerStatus = "5: stopped";
198198
chargingOn = false;
199199
break;
200200
case 0x08: // Failure
@@ -239,7 +239,7 @@ const futurehomeExtend = {
239239
"2: plugged_in_charging",
240240
"3: plugged_in_paused",
241241
"4: plugged_in",
242-
"5X: running",
242+
"5: stopped",
243243
"8X: failure",
244244
])
245245
.withDescription("Current EV charger state"),
@@ -524,7 +524,7 @@ export const definitions: DefinitionWithExtend[] = [
524524
a10: {
525525
name: "a10",
526526
ID: 0xef10,
527-
type: Zcl.DataType.UINT8,
527+
type: Zcl.DataType.UINT16, // tested with write
528528
manufacturerCode: Zcl.ManufacturerCode.FUTUREHOME_AS,
529529
write: true,
530530
},

0 commit comments

Comments
 (0)