homebridge-plugin-waveshare-relay
Version:
Homebridge plugin exposing Waveshare Raspberry Pi Relay Board as a series of switches
21 lines • 812 B
TypeScript
import { IPlatformAccessory, IService } from './homebridge-types';
import { WaveshareRelayApi } from './services/waveshare-relay-api';
import { WaveshareRelayHomebridgePlatform } from './waveshare-relay-homebridge-platform';
/**
* Represents the air temperature sensor on the thermostat
*/
export declare class WaveshareRelayLightbulbAccessory {
private platform;
private accessory;
static TYPE: string;
service: IService;
waveshareRelayApi: WaveshareRelayApi;
constructor(platform: WaveshareRelayHomebridgePlatform, accessory: IPlatformAccessory);
/**
*
* @returns {Promise<import('homebridge').CharacteristicValue>}
*/
getState(): Promise<boolean>;
setState(state: boolean): Promise<void>;
}
//# sourceMappingURL=waveshare-relay-lightbulb-accessory.d.ts.map