Add correct Kelvin settings for stairwell LED strip in time-based flow
This commit is contained in:
@ -62,12 +62,14 @@ if (upBathOcc === 'off') {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Stairwell light strip settings
|
// Stairwell light strip settings
|
||||||
let stairKelvin = 2000
|
let stairKelvin = {}
|
||||||
let stairBrt = {}
|
let stairBrt = {}
|
||||||
let stairEntity = ["light.stairwell_led_strip"]
|
let stairEntity = ["light.stairwell_led_strip"]
|
||||||
if (time === 'day') {
|
if (time === 'day') {
|
||||||
|
stairKelvin = 4000
|
||||||
stairBrt = 255
|
stairBrt = 255
|
||||||
} else if (time === 'night') {
|
} else if (time === 'night') {
|
||||||
|
stairKelvin = 2000
|
||||||
stairBrt = 150
|
stairBrt = 150
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user