Does anybody else experience issues with turning on their tradfri lights in a group with version 0.58? My automation is unchanged and is properly called (also tried to manually trigger the automation). However, the lights stay off. I tried do call the service via the services GUI, which lead to the same result.
There is no error message in my log. So I have no idea whats going wrong. I restarted both the hass server, as well as the tradfri gateway. I just downgraded to 0.57.3 and the automation works again.
Since there is no error in the log, I have no idea what causes this issue with the tradfri groups. If I call the same code with the services tab in the developer tools
One issue with toggling the state of a tradfri light is it will ‘turn on’ to the previous brightness level it was at before it was off.
So if you dim a light to the lowest level, then toggle the state so it is off, then toggle it again, it will come on at the lowest level.
{“entity_id”:“light.wohnzimmer”,“brightness”:100,“transition”:4}
This is specifying the brightness… so will always go to 100%.
Thanks for the info. But that does not seem to be the issue, as I always specify the brightness in my automations. I now turn each light on individually as a workaround:
But still I have no idea what is causing this issue. I tested with two scripts, one is setting brightness 100 and the other one 20. None of the scripts worked, but if I call one and then the other right afterwords, the lights turned on. Strange!
Just a note that I’m seeing this on 2020.12.2: turning on a tradfri-defined light group using an explicit service call works fine, but doing the same from an automation is very sporadic.