Ensure flume sees the most recent notifications (#120290)
parent
0dff7e8a55
commit
deee10813c
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue