UNPKG

homebridge-ambient-realtime

Version:

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

13 lines (12 loc) 731 B
import type { CharacteristicValue, PlatformAccessory, Service, Characteristic } from 'homebridge'; import type ambientPlatform from '../ambient_platform.js'; export default class motionSensor { private readonly platform; private log; readonly Service: typeof Service; readonly Characteristic: typeof Characteristic; constructor(platform: ambientPlatform, log?: import("homebridge").Logging); createAccessory(device: any, uuid: string, motionSensor: PlatformAccessory, newSensor: any): PlatformAccessory<import("homebridge").UnknownContext>; getStatusMotion(sensorStatus: Service): Promise<CharacteristicValue>; getStatusLowBattery(batteryStatus: Service, name: any): Promise<CharacteristicValue>; }