Skip to content

Commit 980b8b9

Browse files
committed
Merge branch 'current' into next
2 parents c925b0b + 8543f48 commit 980b8b9

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

source/_components/cover.garadget.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@ sensor:
6767
value_template: {% raw %}'{{ states.cover.garage_door.state }}'{% endraw %}
6868
garage_door_time_in_state:
6969
friendly_name: 'Since'
70-
value_template: {% raw %}'{{ states.cover.garage_door.attributes["time in state"] }}'{% endraw %}
70+
value_template: {% raw %}'{{ states.cover.garage_door.attributes.time_in_state }}'{% endraw %}
7171
garage_door_wifi_signal_strength:
7272
friendly_name: 'WiFi strength'
73-
value_template: {% raw %}'{{ states.cover.garage_door.attributes["wifi signal strength (dB)"] }}'{% endraw %}
73+
value_template: {% raw %}'{{ states.cover.garage_door.attributes.wifi_signal_strength }}'{% endraw %}
7474
unit_of_measurement: 'dB'
7575
7676
group:

source/_components/prometheus.markdown

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,14 @@ To use the `prometheus` component in your installation, add the following to you
2121
prometheus:
2222
```
2323
24-
The Prometheus component has no configuration variables.
24+
Configuration variables:
25+
26+
- **exclude** (*Optional*): Configure which components should be excluded from recording.
27+
- **entities** (*Optional*): The list of entity ids to be excluded from recording.
28+
- **domains** (*Optional*): The list of domains to be excluded from recording.
29+
- **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.
30+
- **entities** (*Optional*): The list of entity ids to be included from recordings.
31+
- **domains** (*Optional*): The list of domains to be included from recordings.
2532
2633
You can then configure Prometheus to fetch metrics from Home Assistant by adding to its `scrape_configs` configuration.
2734

0 commit comments

Comments
 (0)