@constructorfleet/ultimate-govee
Version:
Library for interacting with Govee devices written in Typescript.
20 lines • 944 B
TypeScript
import { ConfigType } from '@nestjs/config';
import { Optional } from '../../../common';
import { GoveeDeviceConfig } from './govee-device.config';
import { DeviceListResponse } from './models/device-list.response';
import { GoveeDevice } from '../../govee-device';
import { OAuthData } from '../account/models/account-client';
import { GoveeDiyService } from '../diy/govee-diy.service';
export declare class GoveeDeviceService {
private readonly config;
private readonly deviceListResponse;
private readonly diyService;
private readonly logger;
constructor(config: ConfigType<typeof GoveeDeviceConfig>, deviceListResponse: Optional<DeviceListResponse>, diyService: GoveeDiyService);
getDeviceList(oauthData: OAuthData): Promise<GoveeDevice[]>;
private getApiResult;
private static parseResponse;
private static getWiFiData;
private static getBleData;
}
//# sourceMappingURL=govee-device.service.d.ts.map