Remove EVENT_TIME_CHANGED and EVENT_TIMER_OUT_OF_SYNC (#22454)

This commit is contained in:
J. Nick Koston 2022-04-20 19:53:55 -10:00 committed by GitHub
parent 5bdd871e4d
commit b5a99508d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 17 deletions

View File

@ -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.

View File

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