I have a number of X10 switches, using heyu to control them. Because each switch can be toggled manually, the state of the switch in HA may be not be the same as the actual switch. So I want to use radioboxes, not sliders or buttons, in HA and not have them show the state or change color when tapped.
I’m using a glance card, with this code for two switches:
type: glance
columns: 2
entities:
- entity: switch.ceiling_lights
tap_action:
action: call-service
service: switch.turn_off
service_data:
entity_id: switch.ceiling_lights
name: Ceiling Lights Off
show_state: false
state_color: false
icon: mdi:radiobox-blank
- entity: switch.ceiling_lights
tap_action:
action: call-service
service: switch.turn_on
service_data:
entity_id: switch.ceiling_lights
name: Ceiling Lights On
show_state: false
state_color: false
icon: mdi:radiobox-marked
- entity: switch.ceiling_fan
tap_action:
action: call-service
service: switch.turn_off
service_data:
entity_id: switch.ceiling_fan
name: Ceiling Fan Off
show_state: false
state_color: false
icon: mdi:radiobox-blank
- entity: switch.ceiling_fan
tap_action:
action: call-service
service: switch.turn_on
service_data:
entity_id: switch.ceiling_fan
name: Ceiling Fan On
show_state: false
state_color: false
icon: mdi:radiobox-marked
which gives me this card:
This is what I wanted, except that when I tap an On box, both icons change color to yellow. I have state_color set to false for each entity so why do the icons change color, and how can I stop that? Thanks.