Newbie here, I’m trying to understand how to set the power-on-behavior for led lights I have configured under Z2M.
I understand that the expected value is one of initial | previous | customized and I’m looking for the way to set the actual values of the customized option.
Since this is not available through the UI I wonder if there’s some MQTT command I need to run. If so - would someone please guide me on how this should be done?
Thank you @Sir_Goodenough that was an excellent lead. However I’m still not able to get the right color in my light when I turn it on.
Here’s what I did:
light_profiles.csv: (on each change to the file I restart HA)
Currently it seems to me that the customize mode only works when toggling lights on/off from the UI (or calling a service I guess).
When simply turning the light on/off using the wall switch - it ignores the customized value.
This is not the same for previous and initial which react to switching the light using the wall switch (i.e. not via a HA service)
I saw your post in the other thread and decided to reply here because you revived a 2-year old topic.
Are you switching on/off a smart bulb using a dumb switch? If yes, I can confirm that the behaviour you’re experiencing is pretty normal.
Due to being mid-migration, I currently have smart lights connected to a dumb switch and can confirm that turning them off at the switch will indeed cause them to run at their defaults (in my case, full brightness).
Please look into smart switches with decoupled mode. There’s a few threads here.