'Handle a SCSGate message related with this light.'

def process_event(self, message):

    if (self._toggled == message.toggled):
        self._logger.info('Light    %s,    ignoring    message    %s    because    state    already    active', self._scs_id, message)
        return
    self._toggled = message.toggled
    self.schedule_update_ha_state()
    command = 'off'
    if self._toggled:
        command = 'on'
    self.hass.bus.fire('button_pressed', {ATTR_ENTITY_ID: self._scs_id, ATTR_STATE: command})
