Skip to content

Commit 5b2e370

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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

custom_components/eleven_energy/hybrid_inverter.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,8 @@ def processHive(self, json, hive: str):
231231
sensor_key = hive + "." + key
232232

233233
val = inner[key]
234+
if isinstance(val, str):
235+
val = val.lower()
234236

235237

236238
if sensor_key in self.sensor_entities:

0 commit comments

Comments
 (0)