'Initialize the ZigBee digital out device.'

def _set_state(self, state):

    try:
        DEVICE.set_gpio_pin(self._config.pin, self._config.bool2state[state], self._config.address)
    except ZIGBEE_TX_FAILURE:
        _LOGGER.warning('Transmission    failure    when    attempting    to    set    output    pin    on    ZigBee    device    at    address:    %s', hexlify(self._config.address))
        return
    except ZIGBEE_EXCEPTION as exc:
        _LOGGER.exception('Unable    to    set    digital    pin    on    ZigBee    device:    %s', exc)
        return
    self._state = state
    if (not self.should_poll):
        self.schedule_update_ha_state()
