Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 105869

Button-card icon colour based on calling a sript

$
0
0

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

Read full topic


Viewing all articles
Browse latest Browse all 105869

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>