mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-25 02:07:15 +00:00
Fix duration selector documentation (#24572)
This commit is contained in:
parent
b7afa4bc32
commit
4082fb87d7
@ -453,7 +453,7 @@ duration:
|
|||||||
```
|
```
|
||||||
|
|
||||||
{% configuration attribute %}
|
{% configuration attribute %}
|
||||||
enable_days:
|
enable_day:
|
||||||
description: When `true`, the duration selector will allow selecting days.
|
description: When `true`, the duration selector will allow selecting days.
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
@ -464,7 +464,7 @@ The output of this selector is a mapping of the time values the user selected.
|
|||||||
For example:
|
For example:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
days: 1 # Only when enable_days was set to true
|
days: 1 # Only when enable_day was set to true
|
||||||
hours: 12
|
hours: 12
|
||||||
minutes: 30
|
minutes: 30
|
||||||
seconds: 15
|
seconds: 15
|
||||||
|
Loading…
x
Reference in New Issue
Block a user