using universal remote card, I currently have this which does toggle the mute, but the icon does not change:
- type: button
name: volume_mute
tap_action:
action: perform-action
perform_action: remote.send_command
target: {}
data:
num_repeats: 1
delay_secs: 0.4
hold_secs: 0
command: Mute
icon: |
{% if value %}
mdi:volume-off
{% else %}
mdi:volume-high
{% endif %}
entity_id: remote.tv_bravia
Any idea how would i go around getting this working?