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
1 changed files with 15 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue