Skip to content

Commit 981d6ea

Browse files
committed
fix for #86
1 parent c7b1e29 commit 981d6ea

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

custom_components/evcc_intg/__init__.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,10 @@ async def read_evcc_config_on_startup(self):
223223
self._currency = "€"
224224

225225
if "grid" in initdata:
226-
if "power" in initdata["grid"] and "currents" in initdata["grid"]:
226+
if ("power" in initdata["grid"] or
227+
"currents" in initdata["grid"] or
228+
"energy" in initdata["grid"] or
229+
"powers" in initdata["grid"] ):
227230
self._grid_data_as_object = True
228231

229232
_LOGGER.debug(

custom_components/evcc_intg/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@
1010
"iot_class": "local_polling",
1111
"issue_tracker": "https://github.com/marq24/ha-evcc/issues",
1212
"requirements": [],
13-
"version": "2025.1.9"
13+
"version": "2025.1.10"
1414
}

0 commit comments

Comments
 (0)