diff --git a/homeassistant/components/vera/__init__.py b/homeassistant/components/vera/__init__.py index 3654db5072d..9feba3cd08d 100644 --- a/homeassistant/components/vera/__init__.py +++ b/homeassistant/components/vera/__init__.py @@ -155,7 +155,9 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry) -> b controller.stop() await hass.async_add_executor_job(controller.start) - hass.bus.async_listen_once(EVENT_HOMEASSISTANT_STOP, stop_subscription) + config_entry.async_on_unload( + hass.bus.async_listen_once(EVENT_HOMEASSISTANT_STOP, stop_subscription) + ) return True