From 6b82bf2bc7bc56eb1b0b1ca59c70b3d243816721 Mon Sep 17 00:00:00 2001 From: tronikos Date: Fri, 18 Aug 2023 01:07:44 -0700 Subject: [PATCH] Fix Flume leak detected sensor (#98560) --- homeassistant/components/flume/coordinator.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/flume/coordinator.py b/homeassistant/components/flume/coordinator.py index 70a99f56968..1f590b0cd16 100644 --- a/homeassistant/components/flume/coordinator.py +++ b/homeassistant/components/flume/coordinator.py @@ -93,8 +93,11 @@ class FlumeNotificationDataUpdateCoordinator(DataUpdateCoordinator[None]): def _update_lists(self): """Query flume for notification list.""" + # Get notifications (read or unread). + # The related binary sensors (leak detected, high flow, low battery) + # will be active until the notification is deleted in the Flume app. self.notifications: list[dict[str, Any]] = pyflume.FlumeNotificationList( - self.auth, read="true" + self.auth, read=None ).notification_list _LOGGER.debug("Notifications %s", self.notifications)