custom-card-helpers
    Preparing search index...

    Interface CallServiceActionConfig

    repeat and haptic are specifically for use in custom cards like the Button-Card

    interface CallServiceActionConfig {
        action: "call-service";
        confirmation?: ConfirmationRestrictionConfig;
        haptic?: HapticType;
        repeat?: number;
        repeat_limit?: number;
        service: string;
        service_data?: { entity_id?: string | [string]; [key: string]: any };
        target?: HassServiceTarget;
    }

    Hierarchy (View Summary)

    Index

    Properties

    action: "call-service"
    haptic?: HapticType
    repeat?: number
    repeat_limit?: number
    service: string
    service_data?: { entity_id?: string | [string]; [key: string]: any }
    target?: HassServiceTarget