I’ve set the restore_from_flash
option, and the light has the restore
option set to RESTORE_DEFAULT_ON
, yet when I restart the board, the color changes back to white and the brightness 100%.
I’ve looked into the profile option for the light.turn_on
, but I don’t think I understand how it’s supposed to work. It uses xy color, which I have no idea about…
Currently I’m using global variable int[3] array with a default color, but I don’t love that. I just can’t find any other way for ESPHome to remember what color HA set it to…or is this just supposed to work and it’s something I’m doing wrong?