UNPKG

homebridge-green-mountain-grills

Version:

A dynamic platform plugin for homebridge to provide access to your GMG WiFi smoker.

41 lines 1.88 kB
import { CharacteristicValue, PlatformAccessory } from 'homebridge'; import { GMGPlatform } from './dynamic-platform'; import { AccessoryContext } from './gmg.types'; /** * Platform Accessory * An instance of this class is created for each accessory your platform registers * Each accessory may expose multiple services of different service types. */ export declare class GMGPlatformAccessory { readonly platform: GMGPlatform; readonly accessory: PlatformAccessory; context: AccessoryContext | undefined; private mainPowerService; private grillThermostatService; private foodTemperatureService; private pelletAlarmService; private fanService; private currentCookingTemperatureCharacteristic; private targetCookingTemperatureCharacteristic; private currentFoodTemperatureCharacteristic; private targetFoodTemperatureCharacteristic; constructor(platform: GMGPlatform, accessory: PlatformAccessory); pollForNewData(): void; getFanState(): CharacteristicValue; getFoodProbeState(): CharacteristicValue; getPelletAlarmIsActive(): CharacteristicValue; getCurrentPowerState(): CharacteristicValue; getMainPowerState(): CharacteristicValue; getTargetPowerState(): CharacteristicValue; getCurrentGrillTemp(): CharacteristicValue; getTargetGrillTemp(): CharacteristicValue; getCurrentFoodTemp(): CharacteristicValue; getTargetFoodTemp(): CharacteristicValue; getTemperatureDisplayUnits(): CharacteristicValue; setTemperatureDisplayUnits(value: CharacteristicValue): Promise<void>; setGrillMainPower(value: CharacteristicValue): Promise<void>; setGrillPower(value: CharacteristicValue): Promise<void>; setGrillTemp(value: CharacteristicValue): Promise<void>; setFoodTemp(value: CharacteristicValue): Promise<void>; } //# sourceMappingURL=platform-accessory.d.ts.map