mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 04:07:08 +00:00
Fix ruff error (#115023)
This commit is contained in:
parent
289700dcf5
commit
bf142aef5f
@ -184,7 +184,7 @@ class DefaultAgent(ConversationEntity):
|
|||||||
)
|
)
|
||||||
|
|
||||||
@core.callback
|
@core.callback
|
||||||
def _filter_state_changes(self, event_data: EventStateChangedData) -> bool:
|
def _filter_state_changes(self, event_data: core.EventStateChangedData) -> bool:
|
||||||
"""Filter state changed events."""
|
"""Filter state changed events."""
|
||||||
return not event_data["old_state"] or not event_data["new_state"]
|
return not event_data["old_state"] or not event_data["new_state"]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user