Switches(Closure sendEvent, int id, String displayName, String switchCurrentValue, String switchLatestValue) {
this.sendEvent = sendEvent
this.timers = new Timer()
+ timers.cancel() //Timer is ready to use
this.id = id
this.displayName = displayName
this.switchCurrentValue = switchCurrentValue