custom:appliance-barrier-card · custom:appliance-sliding-gate-card · custom:appliance-swing-gate-card · custom:appliance-garage-door-card
Four cards for motorised access, no background:
States: open, closed, opening, closing, partly open (current_position between 1 and 99) and unavailable. The orange beacon flashes while moving, or as soon as the motor draws more than moving_threshold. Unknown (the cover reports unknown, e.g. a gate or shutter without position feedback, or only entity_open / entity_close / entity_stop configured without entity): the status badge is hidden and the Open / Stop / Close buttons stay usable; only unavailable disables them.
The movement lasts as long as the real motor (travel_time). The buttons act on the illustration immediately: Open / Close start the movement without waiting for the gate to report it, Stop freezes the drawing where it is (shown as partially open), and the real state takes over as soon as it changes. With a cover that reports current_position, the illustration follows the position and the transitions smooth out the updates. Without it, the drawing goes from one end to the other in travel_time when the cover switches to opening or closing.
Buttons: Open / Stop / Close for a cover (Stop is hidden when the cover does not support it), or a single Command button for an impulse entity (entity_control: button, input_button, script, switch…). Tapping the illustration opens the entity’s more-info dialog.
Every value tile can be hidden with its show_… option, and language: fr|en|de|it|es|nb|nl|pl|ro|ru|sr|sr-Latn forces the language.
entity (cover, or binary_sensor / input_boolean / switch where on = open, or a text sensor: open / closed / opening / closing…)entity_control (optional impulse entity: button, input_button, script or switch)entity_open, entity_close, entity_stop (optional, for a double dry contact: one button, script, switch… per command; the Open / Close / Stop buttons then trigger these entities instead of the cover services, and only the buttons you configured are shown. entity still gives the state)entity_pedestrian (optional pedestrian / partial opening: button, input_button, script, scene, switch or a cover; adds a Pedestrian button)entity_power (motor)entity_energyentity_cost or price_per_kwh (with currency)travel_time (seconds, default 4 for the barrier, 15 for the sliding gate, 14 for the swing gate and the garage door)pedestrian_time (seconds, default: travel_time × pedestrian_position / 100) and pedestrian_position (% of the full opening, default 30): the Pedestrian button animates the opening for pedestrian_time and then stops with the gate ajar (a cover that reports current_position takes over). Set them to the real pedestrian travel of your motorauto_close (seconds, default 0 = off): for a gate without position feedback (a single push button, which closes by itself after a delay). After an opening (press on the card button, impulse of the button / input_button entity, or an “open” state), the card shows opening for travel_time, then open, and goes back to closed auto_close seconds after the opening started (with a closing movement of travel_time). Example for a gate that closes after 60 s: auto_close: 60. Don’t use it with a real open/closed sensor that can stay open longermoving_threshold (default 15 W: above it, the beacon flashes)invert (default false: on = closed, for a contact sensor that is on when closed)leaves (swing gate only: 1 or 2, default 2)animations (default true)show_statusshow_controlsshow_position (only shown when the cover reports current_position)show_powershow_energyshow_costshow_since (time since the last change)type: custom:appliance-garage-door-card
name: Garage
entity: cover.garage_door
entity_power: sensor.garage_plug_power
entity_energy: sensor.garage_plug_energy
price_per_kwh: 0.2516
travel_time: 14
type: custom:appliance-swing-gate-card
name: Front gate
entity: binary_sensor.gate_contact # on = open
entity_control: button.gate_impulse # dry contact of the motor
entity_power: sensor.gate_power
leaves: 2
travel_time: 18
Double dry contact (separate open and close commands):
type: custom:appliance-sliding-gate-card
entity: binary_sensor.portail_ouvert
entity_open: button.portail_ouverture
entity_close: button.portail_fermeture
entity_pedestrian: script.portail_pieton