mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-24 17:57:14 +00:00
Explain history order config flag (#4426)
* add note and example for new history configuration flag to use include order * use better example entities
This commit is contained in:
parent
0b09c4edc3
commit
26ad2e256c
@ -87,6 +87,21 @@ history:
|
|||||||
- sensor.date
|
- sensor.date
|
||||||
```
|
```
|
||||||
|
|
||||||
|
If you'd like the order of display of the sensors to follow the way
|
||||||
|
they are listed in the included entity list, you can set the flag
|
||||||
|
`use_include_order` to True.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
# Example configuration.yaml entry using specified entity display order
|
||||||
|
history:
|
||||||
|
use_include_order: True
|
||||||
|
include:
|
||||||
|
entities:
|
||||||
|
- sun.sun
|
||||||
|
- light.front_porch
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
#### {% linkable_title Implementation details %}
|
#### {% linkable_title Implementation details %}
|
||||||
|
|
||||||
The history is stored in a SQLite database `home-assistant_v2.db` within your configuration directory if the `recorder` component is not set up differently.
|
The history is stored in a SQLite database `home-assistant_v2.db` within your configuration directory if the `recorder` component is not set up differently.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user