'Initialize the EnOcean switch device.'

def __init__(self, dev_id, devname):

    enocean.EnOceanDevice.__init__(self)
    self.dev_id = dev_id
    self._devname = devname
    self._light = None
    self._on_state = False
    self._on_state2 = False
    self.stype = 'switch'
