UNPKG

philips-hue-light-api

Version:

An API client for the Philips Hue API.

17 lines 570 B
import { Lightbulb, Lightgroup } from './index'; export declare class Bridge { private _clientName; private _apiKey; private _ip; private _fetchClient; constructor(ip: string, clientName: string); get apiKey(): string; login(apiKey?: string): Promise<void>; getAllLights(): Promise<Array<Lightbulb>>; getAllGroups(): Promise<Array<Lightgroup>>; getGroupByName(name: string): Promise<Lightgroup>; isLoggedIn(): Promise<boolean>; private loginWithoutApiKey; private loginViaApiKey; } //# sourceMappingURL=Bridge.d.ts.map