Fix some typos in core.py (#121189)

This commit is contained in:
Erik Montnemery 2024-07-04 13:04:52 +02:00 committed by GitHub
parent ad1ba1a5e5
commit d1264655a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -168,7 +168,7 @@ class EventStateEventData(TypedDict):
class EventStateChangedData(EventStateEventData):
"""EVENT_STATE_CHANGED data.
A state changed event is fired when on state write when the state is changed.
A state changed event is fired when on state write the state is changed.
"""
old_state: State | None
@ -177,7 +177,7 @@ class EventStateChangedData(EventStateEventData):
class EventStateReportedData(EventStateEventData):
"""EVENT_STATE_REPORTED data.
A state reported event is fired when on state write when the state is unchanged.
A state reported event is fired when on state write the state is unchanged.
"""
old_last_reported: datetime.datetime