mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 23:06:58 +00:00
Add Option For Kelvin Unit To Color Temperature Selector (#29804)
* Update selectors.markdown * Update source/_docs/blueprint/selectors.markdown Co-authored-by: Fletcher <me@fboyd.me> * tiny tweak --------- Co-authored-by: Fletcher <me@fboyd.me> Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
This commit is contained in:
parent
4852b2d6b2
commit
54c75fb606
@ -305,9 +305,7 @@ The output of this selector is `true` when the toggle is on, `false` otherwise.
|
||||
|
||||
## Color temperature selector
|
||||
|
||||
The color temperature selector provides a select that allows for selecting
|
||||
a color temperature. The selector returns the number of mireds selected and
|
||||
allows limiting the range of selectable mireds.
|
||||
The color temperature selector allows you to select a color temperature from a gradient using a slider.
|
||||
|
||||

|
||||
|
||||
@ -316,19 +314,24 @@ color_temp:
|
||||
```
|
||||
|
||||
{% configuration color_temp %}
|
||||
min_mireds:
|
||||
description: The minimum color temperature in mireds.
|
||||
type: integer
|
||||
default: 153
|
||||
unit:
|
||||
description: The chosen unit for the color temperature. This can be either `kelvin` or `mired`. `mired` is the default for historical reasons.
|
||||
type: string
|
||||
required: false
|
||||
max_mireds:
|
||||
description: The maximum color temperature in mireds.
|
||||
default: mired
|
||||
min:
|
||||
description: The minimum color temperature in the chosen unit.
|
||||
type: integer
|
||||
default: 500
|
||||
default: 2700 for kelvin 153 for mired
|
||||
required: false
|
||||
max:
|
||||
description: The maximum color temperature in the chosen unit.
|
||||
type: integer
|
||||
default: 6500 for kelvin 500 for mired
|
||||
required: false
|
||||
{% endconfiguration %}
|
||||
|
||||
The output of this selector is the number of mired selected, for example, `243`.
|
||||
The output of this selector is the number representing the chosen color temperature for the unit used.
|
||||
|
||||
## Condition selector
|
||||
|
||||
@ -1321,4 +1324,4 @@ The output of this selector is a list of triggers. For example:
|
||||
- platform: numeric_state
|
||||
entity_id: "sensor.outside_temperature"
|
||||
below: 20
|
||||
```∏
|
||||
```∏
|
||||
|
Loading…
x
Reference in New Issue
Block a user