Skip to content

Actions

LCARdS cards support actions tap_action, hold_action, and double_tap_action. These follow the standard Home Assistant action model.


Action Object Options

FieldTypeDescription
actionstringAction type — see table below (required)
entitystringOverride entity for toggle / more-info (defaults to the card's entity)
servicestringService to call, e.g. light.turn_on (alias: perform_action)
service_dataobjectData passed to the service (alias: data)
targetobjectHA service target — entity_id, device_id, or area_id
navigation_pathstringDashboard path for navigate action, must start with /
url_pathstringURL to open for url action

Action Types

action valueDescription
toggleToggle the card's entity on/off
more-infoOpen the HA more-info dialog for the entity
call-serviceCall a HA service (use service + service_data)
perform-actionAlias for call-service (HA 2024+ naming)
navigateNavigate to a dashboard path
urlOpen a URL
assistOpen the HA Assist dialog
noneDo nothing — suppresses the default action

Double-Tap Disambiguation

When double_tap_action is configured, a 300 ms window is used to distinguish a single tap from a double tap. If the second tap arrives within 300 ms, the double-tap action fires instead of the single-tap action.