Is there a way for a button on the localdeck to maintain it’s state after pressing it? I would like it to flash to register it was pressed, but want it to return to the state it was in before I pressed it.
This is because all of my buttons are launching scripts or triggering automations and they themselves will turn off the light, or change it’s colour depending on the outcome of a press.
For example, I have a single button for toggling through heating modes, I have blue for water, red for direct heating then off for no heating. I want the script to change the light state once it’s successfully changed the heating mode, not just because I pressed the button, and I certainly don’t want the light turned off.
So to reiterate. Let’s say button 1 is lit blue for water heating, and I press the button once. It should flash to register the press and then return to blue. After a few seconds and once the heating mode has change a script will change the led on that button to red. I think you should get the idea from that.
This may be configuration I need to do through the configurator, but I can’t run that as I am on a docker installation of HA and am doing everything in the HA interface and YAML files.
So firstly, is it possible, and if so how (even in the ESP config files).