import { HomebridgeMagichomeDynamicPlatformAccessory } from '../platformAccessory' ; export class Switch extends HomebridgeMagichomeDynamicPlatformAccessory { /**
     ** @updateHomekitState
     * send state to homekit
     */ async updateHomekitState ( ) { this . service . updateCharacteristic ( this . platform . Characteristic . On , this . lightState . isOn ) ; } }