mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 22:37:11 +00:00
Fix Flume leak detected sensor (#98560)
This commit is contained in:
parent
ab9d6ce61a
commit
6b82bf2bc7
@ -93,8 +93,11 @@ class FlumeNotificationDataUpdateCoordinator(DataUpdateCoordinator[None]):
|
|||||||
|
|
||||||
def _update_lists(self):
|
def _update_lists(self):
|
||||||
"""Query flume for notification list."""
|
"""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.notifications: list[dict[str, Any]] = pyflume.FlumeNotificationList(
|
||||||
self.auth, read="true"
|
self.auth, read=None
|
||||||
).notification_list
|
).notification_list
|
||||||
_LOGGER.debug("Notifications %s", self.notifications)
|
_LOGGER.debug("Notifications %s", self.notifications)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user