Skip to content

Instantly share code, notes, and snippets.

@ReneNulschDE
Last active February 8, 2024 21:54
Show Gist options
  • Save ReneNulschDE/96916f579feafb7474d9d9e4225bd412 to your computer and use it in GitHub Desktop.
Save ReneNulschDE/96916f579feafb7474d9d9e4225bd412 to your computer and use it in GitHub Desktop.
Change mb for the smart
/custom_components/mbapi2020/__init__.py
line 173-176
Replace
if len(coordinator.client.cars) > 0:
hass.loop.create_task(coordinator.ws_connect())
else:
LOGGER.warning("No active cars found. Websocket connection disabled.")
With
hass.loop.create_task(coordinator.ws_connect())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment