Do not trigger events for updated ring events (#130430)
This commit is contained in:
parent
938b1eca22
commit
2c1d1f5777
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue