Do not trigger events for updated ring events (#130430)

This commit is contained in:
Steven B.
2024-11-14 09:09:58 +00:00
committed by GitHub
parent 938b1eca22
commit 2c1d1f5777

View File

@@ -96,7 +96,7 @@ class RingEvent(RingBaseEntity[RingListenCoordinator, RingDeviceT], EventEntity)
@callback
def _handle_coordinator_update(self) -> None:
if alert := self._get_coordinator_alert():
if (alert := self._get_coordinator_alert()) and not alert.is_update:
self._async_handle_event(alert.kind)
super()._handle_coordinator_update()