I want to change the icon colour base on a simple toggle.
Call a script
Change the icon colour to yellow
Call the script again
Change it to blue
its not based on states, its a simple IR send command to turn something on. I’ve searched but most articles are based on state or conditions. I just wan ta simple on/off. Call the script, change icon colour, call it again, change icon colour…
i only use HA to turn the device on or off so the it should always be correct.
1 post - 1 participant