Skip to content

Commit 988291b

Browse files
authored
Update hybrid_inverter.py
1 parent 5b2e370 commit 988291b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

custom_components/eleven_energy/hybrid_inverter.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,6 @@ def processHive(self, json, hive: str):
233233
val = inner[key]
234234
if isinstance(val, str):
235235
val = val.lower()
236-
237236

238237
if sensor_key in self.sensor_entities:
239238
self.sensor_entities[sensor_key].set_native_value(val)
@@ -248,7 +247,7 @@ async def update(self, json):
248247
self.processHive(json, "system")
249248
self.processHive(json, "operatingMode")
250249

251-
self.sensor_entities["status"].set_native_value(json["status"])
250+
self.sensor_entities["status"].set_native_value(json["status"].lower())
252251

253252
self.binary_sensor_entities["online"].set_binary_value(json["online"])
254253

0 commit comments

Comments
 (0)