ha-appliance-electromenager-cards

Generic card (your own image)

custom:appliance-generic-card: for any device without a dedicated card (a speaker, a lamp, a pump…), put your own picture in image. The card keeps everything else: status (running / idle / off), power, energy and cost chips, and the power button. The picture is dimmed when the device is off and glows softly while it is running.

type: custom:appliance-generic-card
name: Sonos living room
image: /local/sonos.png
power: sensor.tasmota_sonos_power
switch: switch.tasmota_sonos

On / off images and colour ring

type: custom:appliance-generic-card
name: Xiaomi Gateway
entity: light.xiaomi_gateway
ring_light: light.xiaomi_gateway
ring_style: ring
ring_y: 46
ring_size: 34
image: /local/gateway.png

Several images by state

images shows a different picture depending on the power, the state of the card’s entity or another entity (e.g. a 2-speed ventilation unit). Each entry has an image and optional conditions; the card shows the last entry whose conditions are all true, and an entry without a condition always matches (use it first, as the default).

type: custom:appliance-generic-card
name: Heat recovery ventilation
power: sensor.hrv_power
images:
  - image: /local/hrv-off.png        # default
  - above: 20
    image: /local/hrv-speed1.png     # above 20 W
  - above: 60
    image: /local/hrv-speed2.png     # above 60 W
  - entity: select.hrv_mode
    state: boost
    image: /local/hrv-boost.png

image still works on its own; with images, it is the default picture.

← All cards