diff --git a/custom_components/ai_automation_suggester/coordinator.py b/custom_components/ai_automation_suggester/coordinator.py index 283543e..bdf89a1 100644 --- a/custom_components/ai_automation_suggester/coordinator.py +++ b/custom_components/ai_automation_suggester/coordinator.py @@ -153,7 +153,7 @@ async def _async_update_data(self): _LOGGER.debug("Received suggestions: %s", suggestions) try: # Create notification only if suggestions is not None - notification = await persistent_notification.async_create( + persistent_notification.async_create( self.hass, message=suggestions, title="AI Automation Suggestions",