Skip to content

Commit 53f6cd5

Browse files
committed
possible fix for "unavailable data"
1 parent ab572df commit 53f6cd5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

custom_components/goecharger_api2/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ async def _async_update_data(self) -> dict:
466466
_LOGGER.debug(f"_async_update_data(): CALLED")
467467
if self.bridge.ws_connected and self._force_classic_requests is False:
468468
_LOGGER.debug(f"_async_update_data called (but websocket is active - no data will be requested!)")
469-
return None
469+
return self.data
470470
else:
471471
if self._CLIENT_COMMUNICATION_ERROR_TS + 3600 > time():
472472
time_info = 3600 - (time() - self._CLIENT_COMMUNICATION_ERROR_TS)

custom_components/goecharger_api2/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@
1212
"iot_class": "local_push",
1313
"issue_tracker": "https://github.com/marq24/ha-goecharger-api2/issues",
1414
"requirements": ["packaging>=21.0", "msgpack>=1.1.2", "bcrypt>=4.2.0"],
15-
"version": "2026.5.0"
15+
"version": "2026.5.1"
1616
}

0 commit comments

Comments
 (0)