mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +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
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
required: false
|
required: false
|
||||||
|
enable_millisecond:
|
||||||
|
description: When `true`, the duration selector will allow selecting milliseconds.
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
|
required: false
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
The output of this selector is a mapping of the time values the user selected.
|
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
|
hours: 12
|
||||||
minutes: 30
|
minutes: 30
|
||||||
seconds: 15
|
seconds: 15
|
||||||
|
milliseconds: 500 # Only when enable_millisecond was set to true
|
||||||
```
|
```
|
||||||
|
|
||||||
## Entity selector
|
## Entity selector
|
||||||
@ -1528,4 +1534,4 @@ The output of this selector is a list of triggers. For example:
|
|||||||
- platform: numeric_state
|
- platform: numeric_state
|
||||||
entity_id: "sensor.outside_temperature"
|
entity_id: "sensor.outside_temperature"
|
||||||
below: 20
|
below: 20
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user