'Get the latest reading from the ADC.'

def update(self):

    try:
        self._value = DEVICE.read_analog_pin(self._config.pin, self._config.max_voltage, self._config.address, ADC_PERCENTAGE)
    except ZIGBEE_TX_FAILURE:
        _LOGGER.warning('Transmission    failure    when    attempting    to    get    sample    from    ZigBee    device    at    address:    %s', hexlify(self._config.address))
    except ZIGBEE_EXCEPTION as exc:
        _LOGGER.exception('Unable    to    get    sample    from    ZigBee    device:    %s', exc)
