mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
Remove EVENT_TIME_CHANGED and EVENT_TIMER_OUT_OF_SYNC (#22454)
This commit is contained in:
parent
5bdd871e4d
commit
b5a99508d1
@ -124,22 +124,6 @@ This event is fired when a state has changed. It contains the entity identifier
|
||||
|
||||
This event is fired after a theme has been set or reloaded. It contains no additional data.
|
||||
|
||||
### `timer_out_of_sync`
|
||||
|
||||
This event is fired after `time_changed` if there was more that one second delay.
|
||||
|
||||
| Field | Description |
|
||||
| --------- | --------------------- |
|
||||
| `seconds` | The delay in seconds. |
|
||||
|
||||
### `time_changed`
|
||||
|
||||
This event is fired every second by the timer and contains the current time.
|
||||
|
||||
| Field | Description |
|
||||
| ----- | -------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `now` | A [datetime object](https://docs.python.org/3/library/datetime.html#datetime.datetime) containing the current time in UTC. |
|
||||
|
||||
## `user_added`
|
||||
|
||||
This event is fired when a user has been added.
|
||||
|
@ -164,7 +164,7 @@ The following characters can be used in entity globs:
|
||||
The history is stored in a SQLite database `home-assistant_v2.db` within your
|
||||
configuration directory unless the `recorder` integration is set up differently.
|
||||
|
||||
- events table is all events except `time_changed` that happened while recorder integration was running.
|
||||
- events table is all that happened while recorder integration was running.
|
||||
- states table contains all the `new_state` values of `state_changed` events.
|
||||
- Inside the states table you have:
|
||||
- `entity_id`: the entity_id of the entity
|
||||
|
Loading…
x
Reference in New Issue
Block a user