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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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()