mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-25 02:07:15 +00:00
Merge branch 'current' into next
This commit is contained in:
commit
980b8b9ffa
@ -67,10 +67,10 @@ sensor:
|
|||||||
value_template: {% raw %}'{{ states.cover.garage_door.state }}'{% endraw %}
|
value_template: {% raw %}'{{ states.cover.garage_door.state }}'{% endraw %}
|
||||||
garage_door_time_in_state:
|
garage_door_time_in_state:
|
||||||
friendly_name: 'Since'
|
friendly_name: 'Since'
|
||||||
value_template: {% raw %}'{{ states.cover.garage_door.attributes["time in state"] }}'{% endraw %}
|
value_template: {% raw %}'{{ states.cover.garage_door.attributes.time_in_state }}'{% endraw %}
|
||||||
garage_door_wifi_signal_strength:
|
garage_door_wifi_signal_strength:
|
||||||
friendly_name: 'WiFi strength'
|
friendly_name: 'WiFi strength'
|
||||||
value_template: {% raw %}'{{ states.cover.garage_door.attributes["wifi signal strength (dB)"] }}'{% endraw %}
|
value_template: {% raw %}'{{ states.cover.garage_door.attributes.wifi_signal_strength }}'{% endraw %}
|
||||||
unit_of_measurement: 'dB'
|
unit_of_measurement: 'dB'
|
||||||
|
|
||||||
group:
|
group:
|
||||||
|
@ -21,7 +21,14 @@ To use the `prometheus` component in your installation, add the following to you
|
|||||||
prometheus:
|
prometheus:
|
||||||
```
|
```
|
||||||
|
|
||||||
The Prometheus component has no configuration variables.
|
Configuration variables:
|
||||||
|
|
||||||
|
- **exclude** (*Optional*): Configure which components should be excluded from recording.
|
||||||
|
- **entities** (*Optional*): The list of entity ids to be excluded from recording.
|
||||||
|
- **domains** (*Optional*): The list of domains to be excluded from recording.
|
||||||
|
- **include** (*Optional*): Configure which components should be included in recordings. If set, all other entities will not be recorded. Values set by the **blacklist** option will prevail.
|
||||||
|
- **entities** (*Optional*): The list of entity ids to be included from recordings.
|
||||||
|
- **domains** (*Optional*): The list of domains to be included from recordings.
|
||||||
|
|
||||||
You can then configure Prometheus to fetch metrics from Home Assistant by adding to its `scrape_configs` configuration.
|
You can then configure Prometheus to fetch metrics from Home Assistant by adding to its `scrape_configs` configuration.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user