mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Add enable_millisecond to duration selector (#34043)
This commit is contained in:
parent
bb4d996be7
commit
74030720a0
@ -616,6 +616,11 @@ enable_day:
|
||||
type: boolean
|
||||
default: false
|
||||
required: false
|
||||
enable_millisecond:
|
||||
description: When `true`, the duration selector will allow selecting milliseconds.
|
||||
type: boolean
|
||||
default: false
|
||||
required: false
|
||||
{% endconfiguration %}
|
||||
|
||||
The output of this selector is a mapping of the time values the user selected.
|
||||
@ -626,6 +631,7 @@ days: 1 # Only when enable_day was set to true
|
||||
hours: 12
|
||||
minutes: 30
|
||||
seconds: 15
|
||||
milliseconds: 500 # Only when enable_millisecond was set to true
|
||||
```
|
||||
|
||||
## Entity selector
|
||||
|
Loading…
x
Reference in New Issue
Block a user