I have a really simple question. I have added my TV to Home assistant. I use an IR transmitter (Broadcom RM4) to learn the remotes commands and turn it on and off.
I just want Home Assistant to change the icon colour when i have turned it on or off. Whats the best way of going this?
for my lights, switches etc it all changes the colour of the icon if its on or off but NOT for the IR remote as it doesnt have a state…
Ive installed card mod and button card. The problem is all the examples refer to a “state” of the entity. ie is switch on = state = on.
for scripts there are no states.
I use a script to turn the tv on. It calls the Broadlink RM4 IR transmitter and sends the IR code to turn on. So the script doesnt have a state.
All i want to do is change the icon to a different colour when i have clicked it once (turn on) and then change it o another colour when i have clicked it again (turned off)
Should i define the TV as a media player? Its not connected to the network lan though
1 post - 1 participant