'Get the latest data from OhmConnect.'

@Throttle(MIN_TIME_BETWEEN_UPDATES)
def update(self):

    try:
        url = 'https://login.ohmconnect.com/verify-ohm-hour/{}'.format(self._ohmid)
        response = requests.get(url, timeout=10)
        root = ET.fromstring(response.text)
        for child in root:
            self._data[child.tag] = child.text
    except requests.exceptions.ConnectionError:
        _LOGGER.error('No    route    to    host/endpoint:    %s', url)
        self._data = {}
