I‘m having a nervous breakdown. All my lights and motion sensors are connected through Z2M. I did bind the motion sensors to the lights and the lights to the motion sensors. I want my lights to turn on at a 100% brightness when motion is detected. I surely have automations running that ensure that. But sometimes it fails and the light is turned on by the binding to the motion sensor. Then the light will only turn on at 1% brightness.
I tried to „force“ the light to always turn on at 100% through yaml. But this does not work either. Does anyone has a solution ?
The “dark side” (pun intended) of Hue lights is that they only know how to turn on with a pre-programmed scene. Basically the bulb needs to be “taught” a scene and then it can turn on with the scene’s parameters instantly. If you turn them on and pass only a brightness parameter, the bulb tends to light up in the state it was last in and then seek the brightness parameter. And sometimes it fails to do the latter.
I use my Hue lights in HA via a Hue bridge, although I use Z2M for everything else (including Hue motion sensors, back when I used them, and hue dials/remotes). So I don’t know if Z2M is able to program scenes into the bulb. But I would focus on that approach, rather than trying to set a default brightness parameter.
If you read the documentation it includes a strangely formatted light_profiles.csv file where default values can be set. I would have less than zero expectations that this in any way will affect bound remotes/motion sensors though.