Firstly - I’m new to HA so go easy on me (I do love it, just a little confusing at the moment).
I have an oldish (No WiFi enabled) Air Con unit on the wall in the bedroom (that still works spot on so no need for replacement). I have an IR transmitter from Amazon that from SmartLife I have created scenes such as;
Aircon 18C - Full Fan Speed
Aircon 18C - Auto
Aircon 20C - Auto
Aircon Off
All of which work perfectly, but what I am trying to do is show when the scene is active and change the icon of the mushroom card to a spinning fan either green/yellow etc.
I’ve had a Google and found input selector helpers, but still can’t seem to get it working. Even tried creating a HA scene that then triggers the smart life scene which doesn’t work.
Card:
type: custom:mushroom-template-card
primary: Aircon 18C - Full
icon: mdi:fan
icon_color: "{{ 'amber' if is_state('input_select.aircon_on, 'on') else 'grey' }}"
tap_action:
action: perform-action
perform_action: scene.ha_air_18_full_fan_speed
target:
entity_id: scene.aircon_off
Where am I going wrong?
Many Thanks for help in advance.