diff --git a/custom_components/bhyve/__init__.py b/custom_components/bhyve/__init__.py index 711ca26..04c645a 100644 --- a/custom_components/bhyve/__init__.py +++ b/custom_components/bhyve/__init__.py @@ -124,7 +124,7 @@ async def async_update_callback(data): await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS) entry.async_on_unload(entry.add_update_listener(update_listener)) - hass.bus.async_listen_once(EVENT_HOMEASSISTANT_STOP, client.stop()) + hass.bus.async_listen_once(EVENT_HOMEASSISTANT_STOP, client.stop) return True