@qualithm/device - v0.12.2
    Preparing search index...

    Type Alias TriggerDeclaration

    Declaration of a momentary action, e.g. a reboot. Commands carry {}.

    type TriggerDeclaration = {
        key: string;
        type: "trigger";
    }
    Index

    Properties

    Properties

    key: string

    Capability key, unique per device; must survive an MQTT topic level unescaped.

    type: "trigger"

    Discriminant for a momentary action.