UNPKG

homebridge-freeathome-local-api

Version:

Control your free@home setup using the local API provided by your System Access Point

29 lines 1.38 kB
import { PlatformAccessory } from "homebridge"; import { AccessoryType } from "./typeMappings.js"; import { FreeAtHomeAccessory } from "./freeAtHomeAccessory.js"; import { FreeAtHomeContext } from "./freeAtHomeContext.js"; import { FreeAtHomeHomebridgePlatform } from "./platform.js"; /** * A switch actuator accessory. * @description * A switch actuator can be used to control more or less any free&#64;home device * that has a binary on/off power state exposed on data point 0000 like, for example, * binary switches, outlets or non-dimmable lights. */ export declare class SwitchActuatorAccessory extends FreeAtHomeAccessory { readonly platform: FreeAtHomeHomebridgePlatform; readonly accessory: PlatformAccessory<FreeAtHomeContext>; readonly accessoryType: AccessoryType; private readonly service; private stateOn; /** * Constructs a new switch actuator accessory instance. * @param platform The free&#64;home Homebridge platform controlling the accessory * @param accessory The platform accessory. * @param accessoryType The accessory type */ constructor(platform: FreeAtHomeHomebridgePlatform, accessory: PlatformAccessory<FreeAtHomeContext>, accessoryType?: AccessoryType); private setOn; updateDatapoint(datapoint: string, value: string): void; } //# sourceMappingURL=switchActuatorAccessory.d.ts.map