node-switchbot
    Preparing search index...

    Interface CeilingLightStatus

    Ceiling Light specific types

    interface CeilingLightStatus {
        battery?: number;
        brightness?: number;
        color?: { b: number; g: number; r: number };
        colorTemperature?: number;
        connectionType: ConnectionType;
        deviceId: string;
        power: "on" | "off";
        updatedAt?: Date;
        version?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    battery?: number

    Battery level (0-100)

    brightness?: number
    color?: { b: number; g: number; r: number }
    colorTemperature?: number
    connectionType: ConnectionType

    Connection type used to retrieve status

    deviceId: string

    Device ID

    power: "on" | "off"
    updatedAt?: Date

    Last updated timestamp

    version?: string

    Firmware version