From 87d0afe56e4c9a16cb8a77e0a71daad1fcd743d0 Mon Sep 17 00:00:00 2001 From: Jens Horn Date: Fri, 22 Aug 2025 09:58:04 +0200 Subject: [PATCH] Fix async_added_to_hass await. --- custom_components/checkwatt/event.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/checkwatt/event.py b/custom_components/checkwatt/event.py index 2654d05..c19a364 100644 --- a/custom_components/checkwatt/event.py +++ b/custom_components/checkwatt/event.py @@ -102,7 +102,7 @@ def __init__( async def async_added_to_hass(self) -> None: """Register callbacks.""" - super().async_added_to_hass() + await super().async_added_to_hass() self.async_on_remove( async_dispatcher_connect( self.hass,