ha-appliance-electromenager-cards

Heated blanket

Heated blanket card: off, heating, level, ready, double zone

custom:appliance-heated-blanket-card: an electric heated blanket seen from above, with a quilted fabric, a folded hem and serpentine heating wires that glow orange (brighter at a higher level), a warm halo and heat shimmer. The hand control shows a pilot light (red = heating, green = temperature reached, flashing = fault) and a row of level LEDs. Four states: Off, Heating, Ready and Fault.

Every entity is optional: a smart plug with a power sensor is enough for a conventional blanket (entity_power alone gives the state).

Option What it does
entity_status status: switch / input_boolean (on / off), climate (hvac_action: heating, idle, off) or a text sensor. Used for the toggle button too, unless entity_switch is set
entity_switch on/off entity for the Turn on / off button (switch, input_boolean, fan, light, climate)
entity_power, entity_energy, entity_cost / price_per_kwh power (W or kW), energy and cost tiles. Without a status entity, the power gives the state
entity_heat_level heating level: number / input_number / select (buttons − / +, and a slider with show_slider) or a sensor. Level 0 (or an off option) means off
entity_temp, entity_target_temp current and target temperature. A climate or number target gets − / + buttons (temp_step)
entity_timer remaining heating time (minutes, hours, H:MM or a timer helper)
entity_auto_off automatic shut-off countdown (same formats)
entity_alarm overheat / fault alarm (binary_sensor): red flashing pilot and a warning triangle
entity_switch2, entity_heat_level2, entity_temp2, entity_target_temp2, dual double blanket: a second zone (right half, its own button, level and temperatures). dual: true shows two zones even without these entities. Zone names: labels: { zone1: Left, zone2: Right }
max_level (5) number of level LEDs (1 to 9) and the level scale for text levels
ready_threshold (3 W), ready_margin (0.5 °) Ready when the power falls under the threshold while the blanket is on, or when the temperature reaches the target. off_threshold (0.5 W) and power_max (150 W) apply when only the power is known
show_status, show_buttons, show_slider, show_power, show_energy, show_cost, show_temp, show_target, show_level, show_timer, show_auto_off turn the badge, the buttons, the slider and each tile on or off (a tile without an entity is hidden anyway)
fabric_color, compact, animations, labels, language, illustration_size, transparent, temperature_unit, tap_action, hold_action same as the other cards (fabric_color: name, #hex or rgb())

With a plug, a blanket whose own thermostat has switched off (0 W while the plug is on) is shown as Ready.

type: custom:appliance-heated-blanket-card
name: Bed blanket
entity_switch: switch.blanket_plug
entity_power: sensor.blanket_plug_power
entity_energy: sensor.blanket_plug_energy
price_per_kwh: 0.25

Double blanket with levels:

type: custom:appliance-heated-blanket-card
entity_switch: switch.blanket_left
entity_switch2: switch.blanket_right
entity_heat_level: number.blanket_left_level
entity_heat_level2: number.blanket_right_level
entity_auto_off: timer.blanket_auto_off
max_level: 5
labels:
  zone1: Left
  zone2: Right

← All cards