From deee10813c48904bc5fabce619716adb8ed3d47b Mon Sep 17 00:00:00 2001 From: tronikos <tronikos@users.noreply.github.com> Date: Mon, 24 Jun 2024 01:08:51 -0700 Subject: [PATCH] Ensure flume sees the most recent notifications (#120290) --- homeassistant/components/flume/coordinator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/flume/coordinator.py b/homeassistant/components/flume/coordinator.py index 30e7962304c..c75bffdc615 100644 --- a/homeassistant/components/flume/coordinator.py +++ b/homeassistant/components/flume/coordinator.py @@ -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)