Hey guys!
I have already link a Yeelight into HomeAssistant and it runs successfully.I can turn on/off the light and adjust the brightness and color on HA web pages.
And then I connect the HA into HomeKit via homebridge. It works fine.I can control the light in my Home App on iPhone. And the problem is when I turn on the light, the brightness of the light will automatically adjust to 100%, but when I turned off last time the brightness was only 54%!
I repeat the similar scene on HA web pages, it works normally. It wouldn’t adjust the brightness to 100%.
What service YAML are you using to turn on the light? A simple light.turn_on? Post your code. Could be a weirdness with the Yeelight component. Do you have anything else that’s supported a light?
If you are exposing the light directly to HomeKit and HomeKit only sends a TURN ON command to HA, the light will turn on with the previous brightness level.
Maybe you could add a automation that turns the brightness of the light to 100% when its state goes from ‘off’ to ‘on’.
This post should be moved to the Configuration section, since this is not a third party issue/question. The behaviour is the same on all “light” components.
You’re right! I’ve read it in reverse
Then its probably an issue with the HomeKit integration? With Alexa, for example, it turns on the latest brightness.
so do you have the same issue as I do? It’s really odd. In HA web pages when I turn on the light and its brightness wouldn’t adjust to 100% automatically.
Hi all! I am facing exactly the same issue with the HomeKit addon. There are two weird behaviors:
I have grouped two of the three lights. Either by toggling the group on Home App or the individual lights the brightness allways turns to 100%.
The brightness slider on the home app is not “stable”. What I mean is that when I try to I turn the brightness from 50% to 25%, as soon as I raise my finger, the brightness might get back to 50%, or set to 49%, or 27%. It is random and very weird.