From d0c296b5568f1d3a37f1e1b4aa06c6ce22f17297 Mon Sep 17 00:00:00 2001 From: suaveolent Date: Tue, 3 Sep 2024 14:17:02 +0200 Subject: [PATCH] fixes #55 --- hoymiles_wifi/hoymiles.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/hoymiles_wifi/hoymiles.py b/hoymiles_wifi/hoymiles.py index b31b564..568d781 100644 --- a/hoymiles_wifi/hoymiles.py +++ b/hoymiles_wifi/hoymiles.py @@ -32,14 +32,11 @@ class InverterPower(Enum): P_400 = "400" P_500 = "500" P_600_700_800 = "600/700/800" - P_800W = "800W" P_1000 = "1000" - P_1000W = "1000W" P_800W_1000W = "800W/1000W" P_1000_1200_1500 = "1000/1200/1500" P_1200_1500 = "1200/1500" - P_1600 = "1600" - P_2000 = "2000" + P_1600_2000 = "1600/2000" P_2250 = "2250" @@ -56,7 +53,7 @@ power_mapping = { 0x1060: InverterPower.P_1000, 0x1061: InverterPower.P_1200_1500, 0x1161: InverterPower.P_1000_1200_1500, - 0x1164: InverterPower.P_1600, + 0x1164: InverterPower.P_1600_2000, 0x1412: InverterPower.P_800W_1000W, 0x1382: InverterPower.P_2250, }