custom:appliance-simple-switch-card

A wall light switch (rocker on a plate) for anything you just turn on and off without caring what it drives: a hot water tank on a Zigbee relay, a pump, a ventilation fan… Tap the rocker to switch. On: the top half is pressed in, the indicator LED is green and a soft glow appears. Off: the bottom half is pressed in.
Only entity is needed.
| Option | What it does |
|---|---|
entity |
the switch: switch, input_boolean, light, fan, climate, binary_sensor. Tapping the rocker or the Turn on / Turn off button toggles it. The tile On for / Off for shows the time since its last change |
entity_power |
power (W or kW): tile; without entity, the switch counts as on above off_threshold (0.5 W) |
entity_schedule |
schedule on / off (schedule, switch, input_boolean, binary_sensor): Schedule tile (Active / Paused) |
entity_next |
next change (timestamp): tile |
compact, show_status, show_buttons, show_led, show_power, show_since, show_schedule, show_next, animations, labels, language, illustration_size, transparent, tap_action, hold_action, off_threshold |
 |
With a tap_action set, the rocker no longer toggles: the action runs instead.
type: custom:appliance-simple-switch-card
name: Hot water
entity: switch.hot_water_relay
entity_power: sensor.hot_water_relay_power
entity_schedule: schedule.hot_water