this.on('input', msg => { console.log(msg); this.debug('update ProgrammableSwitchEvent SINGLE_PRESS'); doorbellService.getCharacteristic(hap.Characteristic.ProgrammableSwitchEvent).updateValue(0); });
this.on('input', msg => { console.log(msg); this.debug('update ProgrammableSwitchEvent SINGLE_PRESS'); doorbellService.getCharacteristic(hap.Characteristic.ProgrammableSwitchEvent).updateValue(0); });