public override bool SetDimLevel(int dimLevel) { try { gateway.SendCommand( LightwaveRFHelper.GenerateDimString(this, dimLevel) ); return(true); } catch { return(false); } }
public override void ToggleDeviceState(int state) { gateway.SendCommand( LightwaveRFHelper.GenerateToggleDeviceStateString(this, state) ); }