UNPKG

homebridge-ambient-realtime

Version:

Ambient Weather Realtime API platform plugin for [Homebridge](https://github.com/nfarina/homebridge).

11 lines (10 loc) 601 B
import type { CharacteristicValue, PlatformAccessory, Service, Characteristic } from 'homebridge'; import type { ambientPlatform } from '../ambient_platform.js'; export declare class occupancySensor { private readonly platform; readonly Service: typeof Service; readonly Characteristic: typeof Characteristic; constructor(platform: ambientPlatform); createAccessory(device: any, uuid: string, occupancySensor: PlatformAccessory, newSensor: any): PlatformAccessory<import("homebridge").UnknownContext>; getStatusoccupancy(sensorStatus: Service): Promise<CharacteristicValue>; }