@ginden/ha-mqtt-discoverable
    Preparing search index...

    Interface SubscriberEvents<CommandOptions, Sensor, EI>

    interface SubscriberEvents<CommandOptions, Sensor, EI extends EntityInfo> {
        "command.json": [
            json: CommandOptions,
            sensor: Sensor,
            topic: string,
            details: MessageDetails<EI>,
        ];
        "command.raw": [
            raw: Buffer<ArrayBufferLike>,
            sensor: Sensor,
            topic: string,
            details: MessageDetails<EI>,
        ];
        "command.string": [
            str: string,
            sensor: Sensor,
            topic: string,
            details: MessageDetails<EI>,
        ];
        connected: [Discoverable<EntityInfo, DiscoverableEvents>];
        error: [Error];
        "write-config": [
            Discoverable<EntityInfo, DiscoverableEvents>,
            config: Record<string, unknown>,
        ];
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Properties

    "command.json": [
        json: CommandOptions,
        sensor: Sensor,
        topic: string,
        details: MessageDetails<EI>,
    ]
    "command.raw": [
        raw: Buffer<ArrayBufferLike>,
        sensor: Sensor,
        topic: string,
        details: MessageDetails<EI>,
    ]
    "command.string": [
        str: string,
        sensor: Sensor,
        topic: string,
        details: MessageDetails<EI>,
    ]
    error: [Error]
    "write-config": [
        Discoverable<EntityInfo, DiscoverableEvents>,
        config: Record<string, unknown>,
    ]