mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-28 11:47:00 +00:00
Changes for "color_temp" selector
This commit is contained in:
parent
21d5a18cda
commit
7d827e8b8d
@ -256,9 +256,9 @@ The output of this selector is `true` when the toggle was on, `false` otherwise.
|
|||||||
|
|
||||||
## Color temperature selector
|
## Color temperature selector
|
||||||
|
|
||||||
The color temperature selector provides a select that allows for selecting
|
The color temperature selector provides a slider that allows for selecting
|
||||||
a color temperature. The selector returns the number of mireds selected and
|
a color temperature. The selector returns the number of Kelvin or mireds selected and
|
||||||
allows limiting the range of selectable mireds.
|
allows limiting the range of selectable values.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
@ -267,19 +267,24 @@ color_temp:
|
|||||||
```
|
```
|
||||||
|
|
||||||
{% configuration color_temp %}
|
{% configuration color_temp %}
|
||||||
min_mireds:
|
unit:
|
||||||
description: The minimum color temperature in mireds.
|
description: Unit to use for the selector. Either "Kelvin" or "Mired".
|
||||||
|
type: string
|
||||||
|
defaulr: "Kelvin"
|
||||||
|
required: true
|
||||||
|
min:
|
||||||
|
description: The minimum color temperature.
|
||||||
type: integer
|
type: integer
|
||||||
default: 153
|
default: 2700 for Kelvin, 153 for Mired
|
||||||
required: false
|
required: false
|
||||||
max_mireds:
|
max:
|
||||||
description: The maximum color temperature in mireds.
|
description: The maximum color temperature.
|
||||||
type: integer
|
type: integer
|
||||||
default: 500
|
default: 6000 for Kelvin, 500 for Mired
|
||||||
required: false
|
required: false
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
The output of this selector is the number of mired selected, for example, `243`.
|
The output of this selector is the number of Kelvin or mired selected, for example, `243`.
|
||||||
|
|
||||||
## Config entry selector
|
## Config entry selector
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user