mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-20 15:56:51 +00:00
Document statistic selector (#39604)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
parent
1beb5a06ac
commit
eb1bc80b1b
@ -45,6 +45,7 @@ The following selectors are currently available:
|
||||
- [RGB color selector](#rgb-color-selector)
|
||||
- [Select selector](#select-selector)
|
||||
- [State selector](#state-selector)
|
||||
- [Statistic selector](#statistic-selector)
|
||||
- [Target selector](#target-selector)
|
||||
- [Template selector](#template-selector)
|
||||
- [Text selector](#text-selector)
|
||||
@ -1313,6 +1314,26 @@ prettified name shown in the frontend).
|
||||
|
||||
For example: `heat_cool`.
|
||||
|
||||
## Statistic selector
|
||||
|
||||
The statistic selector selects the statistic ID of an entity that records
|
||||
long-term statistics. It may resemble an entity ID (like `sensor.temperature`),
|
||||
or an external statistic ID (like `external:temperature`).
|
||||
|
||||

|
||||
|
||||
{% configuration statistic %}
|
||||
multiple:
|
||||
description: >
|
||||
If set to true, the selector returns a list of statistic IDs.
|
||||
type: boolean
|
||||
default: false
|
||||
required: false
|
||||
{% endconfiguration %}
|
||||
|
||||
The output of this selector is a string representing a statistic ID, or
|
||||
a list of statistic IDs if `multiple` is set to `true`.
|
||||
|
||||
## Target selector
|
||||
|
||||
The target selector is a rather special selector, allowing the user to select
|
||||
|
BIN
source/images/blueprints/selector-statistic.png
Normal file
BIN
source/images/blueprints/selector-statistic.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
Loading…
x
Reference in New Issue
Block a user