Skip to content

Commit

Permalink
Also trigger manual control when using "color_temp" in mired format (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
basnijholt authored Dec 12, 2022
1 parent dc8fa60 commit ce4503c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/adaptive_lighting/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"config_flow": true,
"dependencies": [],
"codeowners": ["@basnijholt", "@RubenKelevra"],
"version": "1.4.0",
"version": "1.4.1",
"requirements": [],
"iot_class": "calculated"
}
2 changes: 2 additions & 0 deletions custom_components/adaptive_lighting/switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
ATTR_BRIGHTNESS_STEP,
ATTR_BRIGHTNESS_STEP_PCT,
ATTR_COLOR_NAME,
ATTR_COLOR_TEMP,
ATTR_COLOR_TEMP_KELVIN,
ATTR_HS_COLOR,
ATTR_KELVIN,
Expand Down Expand Up @@ -159,6 +160,7 @@

COLOR_ATTRS = { # Should ATTR_PROFILE be in here?
ATTR_COLOR_NAME,
ATTR_COLOR_TEMP,
ATTR_COLOR_TEMP_KELVIN,
ATTR_HS_COLOR,
ATTR_KELVIN,
Expand Down

0 comments on commit ce4503c

Please sign in to comment.