mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 13:15:18 +02:00
Ensure flume sees the most recent notifications (#120290)
This commit is contained in:
@@ -98,7 +98,7 @@ class FlumeNotificationDataUpdateCoordinator(DataUpdateCoordinator[None]):
|
|||||||
# The related binary sensors (leak detected, high flow, low battery)
|
# The related binary sensors (leak detected, high flow, low battery)
|
||||||
# will be active until the notification is deleted in the Flume app.
|
# will be active until the notification is deleted in the Flume app.
|
||||||
self.notifications = pyflume.FlumeNotificationList(
|
self.notifications = pyflume.FlumeNotificationList(
|
||||||
self.auth, read=None
|
self.auth, read=None, sort_direction="DESC"
|
||||||
).notification_list
|
).notification_list
|
||||||
_LOGGER.debug("Notifications %s", self.notifications)
|
_LOGGER.debug("Notifications %s", self.notifications)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user