mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-11 14:24:03 +02:00
Also trigger manual control when using "color_temp" in mired format (#402)
This commit is contained in:
parent
dc8fa60e75
commit
ce4503c9c6
2 changed files with 3 additions and 1 deletions
|
|
@ -6,7 +6,7 @@
|
|||
"config_flow": true,
|
||||
"dependencies": [],
|
||||
"codeowners": ["@basnijholt", "@RubenKelevra"],
|
||||
"version": "1.4.0",
|
||||
"version": "1.4.1",
|
||||
"requirements": [],
|
||||
"iot_class": "calculated"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ from homeassistant.components.light import (
|
|||
ATTR_BRIGHTNESS_STEP,
|
||||
ATTR_BRIGHTNESS_STEP_PCT,
|
||||
ATTR_COLOR_NAME,
|
||||
ATTR_COLOR_TEMP,
|
||||
ATTR_COLOR_TEMP_KELVIN,
|
||||
ATTR_HS_COLOR,
|
||||
ATTR_KELVIN,
|
||||
|
|
@ -159,6 +160,7 @@ RGB_REDMEAN_CHANGE = 80 # ≈10% of total range
|
|||
|
||||
COLOR_ATTRS = { # Should ATTR_PROFILE be in here?
|
||||
ATTR_COLOR_NAME,
|
||||
ATTR_COLOR_TEMP,
|
||||
ATTR_COLOR_TEMP_KELVIN,
|
||||
ATTR_HS_COLOR,
|
||||
ATTR_KELVIN,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue