1YAML Code for Home Assistant Integration
YAML code for customize.yaml to change the device class of the secondary switch (gives it the correct icon):
binary_sensor.garagedoorsv_switch2: device_class: garage_door
YAML code for the display overview. This makes a large clickable button and the large icon will also change depending if the sensor sees that the door is open or closed.
cards: - entity: binary_sensor.garagedoorsv_switch2 icon_height: 200px name: Press to Open/Close Garage Door show_icon: true show_name: true tap_action: action: call-service service: switch.turn_on service_data: entity_id: switch.garage_door type: button - entities: - entity: sensor.garage_door_status - entity: switch.garage_door - entity: binary_sensor.garagedoorsv_switch2 type: glance type: vertical-stack