mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 19:27:45 +00:00
Fix ruff error (#115023)
This commit is contained in:
parent
289700dcf5
commit
bf142aef5f
@ -184,7 +184,7 @@ class DefaultAgent(ConversationEntity):
|
||||
)
|
||||
|
||||
@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."""
|
||||
return not event_data["old_state"] or not event_data["new_state"]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user