Improve State docstring (#113501)

This commit is contained in:
Erik Montnemery 2024-03-15 12:01:11 +01:00 committed by GitHub
parent 3e3cf45a5d
commit 103b8b4dc5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1540,8 +1540,8 @@ class State:
entity_id: the entity that is represented.
state: the state of the entity
attributes: extra information on entity and state
last_changed: last time the state was changed, not the attributes.
last_updated: last time this object was updated.
last_changed: last time the state was changed.
last_updated: last time the state or attributes were changed.
context: Context in which it was created
domain: Domain of this state.
object_id: Object id of this state.