Skip to content

Commit 49f69a3

Browse files
authored
Update Configuration Variables section
1 parent 14732ee commit 49f69a3

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

source/_components/sensor.version.markdown

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ logo: home-assistant.png
1313
ha_release: 0.52
1414
---
1515

16-
1716
The `version` sensor platform is displaying the current version of Home Assistant in the frontend.
1817

1918
To enable this sensor, add the following lines to your `configuration.yaml` file for a GET request:
@@ -24,9 +23,13 @@ sensor:
2423
- platform: version
2524
```
2625
27-
Configuration variables:
28-
29-
- **name** (*Optional*): Name of the sensor. Defaults to `Current Version`.
26+
{% configuration %}
27+
name:
28+
description: Name of the sensor.
29+
required: false
30+
type: string
31+
default: Current Version
32+
{% endconfiguration %}
3033
3134
## {% linkable_title Alternatives %}
3235

0 commit comments

Comments
 (0)