Open rosch100 opened 4 years ago
@rosch100, I have introduced a new configuration setting only_once
in the latest beta, you might want to check that out.
Also, I think you are confused about how your configuration works. Your light turns on upon a trigger from a binary_sensor and only then it sets it to the color you want. However, if you manually switch on the light, nothing will happen.
Luckily, this problem is fixed by just using the only_once: true
setting :tada:
Thank you @basnijholt ! I'd want to try the change, is there a simple way to switch to the beta branch from HACS?
For that, I think we need to wait until @claytonjn merged https://github.com/claytonjn/hass-circadian_lighting/pull/113 and released a new beta.
I merged #113 and pushed 2.0.1b from my phone this morning but I've been AFK all weekend. @rosch100 to switch to beta releases in HACS you have to locate Circadian Lighting under Integrations, open the three-dot menu, choose Reinstall, then toggle the "Show beta version" switch.
While sleep mode is enabled at night and the lights receive another trigger to turn on, the color changes to normal night colors even though the sleep_mode setting did not change.
I have set up my lights to turn on/off via motion sensors. So, it is not uncommon for the lights to receive another turn on trigger at night.
Since I use your suggested template kelvin:
'{{ state_attr(''sensor.circadian_values'', ''colortemp'') | int }}'
, could it be that the sensor.circadian_values does not change to sleep mode colortemp?My config: configuration.yaml
automations.yaml