Hi, I presume the light will default to its standard temperature value when you donāt specify one.
Iāve created a version 2.1, which adds fixed color and temperature values.
Iām working on making color and temperature variable too, so that the lights can not only dim, but change color depending on the sensor value as well, but thatāll probably take some time.
BREAKING: Added color and temperature settings for the light. These are fixed values and are not affected when the light changes brightness values.
From this version onwards, there will be added complexity in order to control light temperature and color settings. If you donāt need this, I recommend staying on version 2.0 as that will be much simpler and thus more user-friendly.
Unfortunately, I get an error and I don;t know how to solve this (running the latest release of HA).: Stopped because an error was encountered at February 19, 2023 at 5:23:31 PM (runtime: 0.02 seconds) two or more values in the same group of exclusion āColor descriptorsā @ data[]
In release Smart Light Dimmer V2.1, I get the following error:
Stopped because an error was encountered at June 22, 2023 at 9:12:06 PM (runtime: 0.02 seconds) two or more values in the same group of exclusion āColor descriptorsā @ data[]
Because I am not a HomeAssistant specialist, I couldnāt get an easy way to fix this problem.
I had the same problem. Try v2.0 it works flawlessly and is really cool.
The one think I like to see changed in the blueprint though is the trigger. I.s.o a time bracket I would like to be able to use other triggers as well.
Edit: I use this for my garden lights. as it gets darker outside the tree need less light to have a nice effect.
You are absolutely right, but there is just one thing that I would like to change.
At the moment of writing the lights do not change smoothly from state to state (smooth transistion).
This is the only thing I would like to have changed. The rest is okay.
Do you maybe know how to do this within the YAML script of this automation?
I have absolutely no idea of how to do that. I guess itās in the mathematical calculation. For lights inside the house I would guess thatās it a bit annoying thatās is not gradual but I use this for my garden lights so itās not so noticeable.
Hi @Hanske, sorry for the slow support in this thread. Iāve been very busy with work over the last months and no guarantee that Iāll be able to pick this up very actively in the future.
Anyways: there are 3 possible options I can think of that can help smooth our the transitions.
There is a transition value that you could add to the light.turn_on function, which allows your lights to transition smoothly from one value to the next in a set number of seconds. This should smooth out the shift from the set value to the newly input value. However, your lights need to support this transition (think: philips Hue etcā¦).
You can copy the blueprint code and add the transition value as below:
The script updates every time your lux value from the light sensor is updated. If the lux value updates more frequently, the steps will be smaller and so the shift in brightness will become smaller as well, creating a perceived smoothing effect.
External control: My lights are controlled through my KNX system in the background. using light.turn_on combined with a % value (what this blueprint does as standard) will send it to the dimming function in KNX, which then in turn will dim from the set value to the new one.
Split development in 2: Version 2.x and Version 3.x
(Both versions will be maintained (when I have the time), but since they focus on different use cases, they will be viewed a separate projects.)
Released Version 2.2:
(removed light temperature adjustments. This was a breaking change a while ago where no color values and temperature values could be sent to the light.turn_on service at the same time.)
Released Version 3.2 (BETA)
(Removed light temperature adjustments. This was a breaking change a while ago where no color values and temperature values could be sent to the light.turn_on service at the same time.)