Skip to content

Fix kelvin parameter in light action specifications #142456

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions homeassistant/components/light/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ turn_on:
example: "[255, 100, 100]"
selector:
color_rgb:
kelvin: &kelvin
color_temp_kelvin: &color_temp_kelvin
filter: *color_temp_support
selector:
color_temp:
Expand Down Expand Up @@ -316,7 +316,7 @@ toggle:
fields:
transition: *transition
rgb_color: *rgb_color
kelvin: *kelvin
color_temp_kelvin: *color_temp_kelvin
brightness_pct: *brightness_pct
effect: *effect
advanced_fields:
Expand Down
16 changes: 8 additions & 8 deletions homeassistant/components/light/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"field_flash_name": "Flash",
"field_hs_color_description": "Color in hue/sat format. A list of two integers. Hue is 0-360 and Sat is 0-100.",
"field_hs_color_name": "Hue/Sat color",
"field_kelvin_description": "Color temperature in Kelvin.",
"field_kelvin_name": "Color temperature",
"field_color_temp_kelvin_description": "Color temperature in Kelvin.",
"field_color_temp_kelvin_name": "Color temperature",
"field_profile_description": "Name of a light profile to use.",
"field_profile_name": "Profile",
"field_rgb_color_description": "The color in RGB format. A list of three integers between 0 and 255 representing the values of red, green, and blue.",
Expand Down Expand Up @@ -328,9 +328,9 @@
"name": "[%key:component::light::common::field_color_temp_name%]",
"description": "[%key:component::light::common::field_color_temp_description%]"
},
"kelvin": {
"name": "[%key:component::light::common::field_kelvin_name%]",
"description": "[%key:component::light::common::field_kelvin_description%]"
"color_temp_kelvin": {
"name": "[%key:component::light::common::field_color_temp_kelvin_name%]",
"description": "[%key:component::light::common::field_color_temp_kelvin_description%]"
},
"brightness": {
"name": "[%key:component::light::common::field_brightness_name%]",
Expand Down Expand Up @@ -426,9 +426,9 @@
"name": "[%key:component::light::common::field_color_temp_name%]",
"description": "[%key:component::light::common::field_color_temp_description%]"
},
"kelvin": {
"name": "[%key:component::light::common::field_kelvin_name%]",
"description": "[%key:component::light::common::field_kelvin_description%]"
"color_temp_kelvin": {
"name": "[%key:component::light::common::field_color_temp_kelvin_name%]",
"description": "[%key:component::light::common::field_color_temp_kelvin_description%]"
},
"brightness": {
"name": "[%key:component::light::common::field_brightness_name%]",
Expand Down