UNPKG

custom-card-helpers

Version:

Set of helpful functions and types for Custom Card creators

9 lines (8 loc) 343 B
import { HomeAssistant, ActionConfig } from "./types"; export declare const handleClick: (node: HTMLElement, hass: HomeAssistant, config: { entity?: string; camera_image?: string; hold_action?: ActionConfig; tap_action?: ActionConfig; double_tap_action?: ActionConfig; }, hold: boolean, dblClick: boolean) => void;