homebridge-plugin-mill-panelowen
Version:
Homebridge plugin for Mill panel ovens.
19 lines (14 loc) • 561 B
JavaScript
;
class AccessoryInformationService {
constructor(platform, serialNumber) {
const Characteristic = platform.homebridge.hap.Characteristic;
const Service = platform.homebridge.hap.Service;
this.service = new Service.AccessoryInformation();
this.service
.setCharacteristic(Characteristic.Manufacturer, 'mill')
.setCharacteristic(Characteristic.Model, 'Heater')
.setCharacteristic(Characteristic.SerialNumber, serialNumber);
}
getService = () => this.service;
}
module.exports = AccessoryInformationService;