From fc38451faf9459a53bc0bc29fdfd2509b701f628 Mon Sep 17 00:00:00 2001 From: G Johansson Date: Fri, 28 Jul 2023 23:29:01 +0200 Subject: [PATCH] Disable always_update in yale_smart_alarm coordinator (#97426) always update --- homeassistant/components/yale_smart_alarm/coordinator.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/yale_smart_alarm/coordinator.py b/homeassistant/components/yale_smart_alarm/coordinator.py index 1a350d1db9861a..e1cff8fb2a5001 100644 --- a/homeassistant/components/yale_smart_alarm/coordinator.py +++ b/homeassistant/components/yale_smart_alarm/coordinator.py @@ -16,7 +16,7 @@ from .const import DEFAULT_SCAN_INTERVAL, DOMAIN, LOGGER, YALE_BASE_ERRORS -class YaleDataUpdateCoordinator(DataUpdateCoordinator): +class YaleDataUpdateCoordinator(DataUpdateCoordinator[dict[str, Any]]): """A Yale Data Update Coordinator.""" def __init__(self, hass: HomeAssistant, entry: ConfigEntry) -> None: @@ -28,6 +28,7 @@ def __init__(self, hass: HomeAssistant, entry: ConfigEntry) -> None: LOGGER, name=DOMAIN, update_interval=timedelta(seconds=DEFAULT_SCAN_INTERVAL), + always_update=False, ) async def _async_update_data(self) -> dict[str, Any]: