UNPKG

@constructorfleet/ultimate-govee

Version:

Library for interacting with Govee devices written in Typescript.

12 lines 527 B
import { GoveeDeviceStatus } from '../../../govee-device'; import { BleAdvertisement } from '../../ble.types'; export type DevicePropertyDecoder = (advertisement: BleAdvertisement) => number | undefined; export type DeviceData = { brand: string; model: string; modelName: string; type: string[]; }; export type DeviceDecodedProperties = GoveeDeviceStatus['state'] & DeviceData; export type ModelDecoder = (advertisement: BleAdvertisement) => DeviceDecodedProperties; //# sourceMappingURL=device.decoder.d.ts.map