mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 01:06:52 +00:00
Document state.last_reported (#31983)
* Document state.last_reported * tiny tweak --------- Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
This commit is contained in:
parent
2683309fd4
commit
2df7167789
@ -16,8 +16,9 @@ All states will always have an entity id, a state and a timestamp when last upda
|
||||
| `state.domain` | Domain of the entity. Example: `light`. |
|
||||
| `state.object_id` | Object ID of entity. Example: `kitchen`. |
|
||||
| `state.name` | Name of the entity. Based on `friendly_name` attribute with fall back to object ID. Example: `Kitchen Ceiling`. |
|
||||
| `state.last_updated` | Time the state was written to the state machine in UTC time. Note that writing the exact same state including attributes will not result in this field being updated. Example: `2017-10-28 08:13:36.715874+00:00`. |
|
||||
| `state.last_changed` | Time the state changed in the state machine in UTC time. This is not updated when there are only updated attributes. Example: `2017-10-28 08:13:36.715874+00:00`. |
|
||||
| `state.last_changed` | Time the state changed in the state machine in UTC time. This is not updated if only state attributes change. Example: `2017-10-28 08:13:36.715874+00:00`. |
|
||||
| `state.last_reported`| Time the state was written to the state machine in UTC time. This timestamp is updated regardless of any change to the state or a state attribute. Example: `2017-10-28 08:13:36.715874+00:00`. |
|
||||
| `state.last_updated` | Time the state or state attributes changed in the state machine in UTC time. This is not updated if neither state nor state attributes changed. Example: `2017-10-28 08:13:36.715874+00:00`. |
|
||||
| `state.attributes` | A dictionary with extra attributes related to the current state. |
|
||||
| `state.context` | A dictionary with extra attributes related to the context of the state. |
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user