Ensure flume sees the most recent notifications (#120290)

pull/109057/head^2
tronikos 2024-06-24 01:08:51 -07:00 committed by GitHub
parent 0dff7e8a55
commit deee10813c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ class FlumeNotificationDataUpdateCoordinator(DataUpdateCoordinator[None]):
# The related binary sensors (leak detected, high flow, low battery)
# will be active until the notification is deleted in the Flume app.
self.notifications = pyflume.FlumeNotificationList(
self.auth, read=None
self.auth, read=None, sort_direction="DESC"
).notification_list
_LOGGER.debug("Notifications %s", self.notifications)