Fix ruff error (#115023)

This commit is contained in:
Joost Lekkerkerker 2024-04-06 14:13:20 +02:00 committed by GitHub
parent 289700dcf5
commit bf142aef5f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"]