Honeywell Thermostat Errors in 0.39

Any idea as to why I am getting these errors? I’ve had similar errors in 0.38.x, but just did an AIO rebuild on 0.39.1 and am still seeing these messages:

17-02-28 01:40:19 ERROR (Thread-4) [somecomfort] API returned 500 from /Device/CheckDataSession/624305 request
17-02-28 01:40:19 ERROR (MainThread) [homeassistant.components.climate] Error while update entity from honeywell in climate
Traceback (most recent call last):
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 396, in _update_entity_states
    yield from update_coro
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 212, in async_update_ha_state
    yield from self.hass.loop.run_in_executor(None, self.update)
  File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
    value = future.result()
  File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
    raise self._exception
  File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/climate/honeywell.py", line 279, in update
    self._device.refresh()
  File "/home/homeassistant/.homeassistant/deps/somecomfort/client.py", line 87, in refresh
    data = self._client._get_thermostat_data(self.deviceid)
  File "/home/homeassistant/.homeassistant/deps/somecomfort/client.py", line 449, in _get_thermostat_data
    return self._get_json(url)
  File "/home/homeassistant/.homeassistant/deps/somecomfort/client.py", line 425, in _get_json
    return self._request_json('get', *args, **kwargs)
  File "/home/homeassistant/.homeassistant/deps/somecomfort/client.py", line 422, in _request_json
    resp.status_code))
somecomfort.client.APIError: Unexpected 500 response from API
17-02-28 02:31:23 ERROR (MainThread) [homeassistant.components.climate] Error while update entity from honeywell in climate
Traceback (most recent call last):
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py", line 386, in _make_request
    six.raise_from(e, None)
  File "<string>", line 2, in raise_from
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py", line 382, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/lib/python3.4/http/client.py", line 1172, in getresponse
    response.begin()
  File "/usr/lib/python3.4/http/client.py", line 351, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.4/http/client.py", line 313, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
  File "/usr/lib/python3.4/socket.py", line 371, in readinto
    return self._sock.recv_into(b)
  File "/usr/lib/python3.4/ssl.py", line 745, in recv_into
    return self.read(nbytes, buffer)
  File "/usr/lib/python3.4/ssl.py", line 617, in read
    v = self._sslobj.read(len, buffer)
socket.timeout: The read operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/requests/adapters.py", line 423, in send
    timeout=timeout
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py", line 649, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/requests/packages/urllib3/util/retry.py", line 347, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/requests/packages/urllib3/packages/six.py", line 686, in reraise
    raise value
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py", line 388, in _make_request
    self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py", line 308, in _raise_timeout
    raise ReadTimeoutError(self, url, "Read timed out. (read timeout=%s)" % timeout_value)
requests.packages.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='www.mytotalconnectcomfort.com', port=443): Read timed out. (read timeout=30)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 396, in _update_entity_states
    yield from update_coro
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 212, in async_update_ha_state
    yield from self.hass.loop.run_in_executor(None, self.update)
  File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
    value = future.result()
  File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
    raise self._exception
  File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/climate/honeywell.py", line 279, in update
    self._device.refresh()
  File "/home/homeassistant/.homeassistant/deps/somecomfort/client.py", line 87, in refresh
    data = self._client._get_thermostat_data(self.deviceid)
  File "/home/homeassistant/.homeassistant/deps/somecomfort/client.py", line 448, in _get_thermostat_data
    with self._retries_login():
  File "/usr/lib/python3.4/contextlib.py", line 59, in __enter__
    return next(self.gen)
  File "/home/homeassistant/.homeassistant/deps/somecomfort/client.py", line 433, in _retries_login
    self.keepalive()
  File "/home/homeassistant/.homeassistant/deps/somecomfort/client.py", line 473, in keepalive
    resp = self._session.get(url, timeout=self._timeout)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/requests/sessions.py", line 501, in get
    return self.request('GET', url, **kwargs)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/requests/sessions.py", line 488, in request
    resp = self.send(prep, **send_kwargs)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/requests/sessions.py", line 609, in send
    r = adapter.send(request, **kwargs)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/requests/adapters.py", line 499, in send
    raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='www.mytotalconnectcomfort.com', port=443): Read timed out. (read timeout=30)
17-02-28 02:31:59 ERROR (Thread-7) [somecomfort] API returned 500 from /Device/CheckDataSession/624305 request
17-02-28 02:31:59 ERROR (MainThread) [homeassistant.components.climate] Error while update entity from honeywell in climate
Traceback (most recent call last):
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 396, in _update_entity_states
    yield from update_coro
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 212, in async_update_ha_state
    yield from self.hass.loop.run_in_executor(None, self.update)
  File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
    value = future.result()
  File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
    raise self._exception
  File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/climate/honeywell.py", line 279, in update
    self._device.refresh()
  File "/home/homeassistant/.homeassistant/deps/somecomfort/client.py", line 87, in refresh
    data = self._client._get_thermostat_data(self.deviceid)
  File "/home/homeassistant/.homeassistant/deps/somecomfort/client.py", line 449, in _get_thermostat_data
    return self._get_json(url)
  File "/home/homeassistant/.homeassistant/deps/somecomfort/client.py", line 425, in _get_json
    return self._request_json('get', *args, **kwargs)
  File "/home/homeassistant/.homeassistant/deps/somecomfort/client.py", line 422, in _request_json
    resp.status_code))
somecomfort.client.APIError: Unexpected 500 response from API
17-02-28 07:38:06 ERROR (Thread-3) [somecomfort] API returned 500 from /Device/CheckDataSession/624305 request
17-02-28 07:38:06 ERROR (MainThread) [homeassistant.components.climate] Error while update entity from honeywell in climate
Traceback (most recent call last):
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 396, in _update_entity_states
    yield from update_coro
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 212, in async_update_ha_state
    yield from self.hass.loop.run_in_executor(None, self.update)
  File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
    value = future.result()
  File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
    raise self._exception
  File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/climate/honeywell.py", line 279, in update
    self._device.refresh()
  File "/home/homeassistant/.homeassistant/deps/somecomfort/client.py", line 87, in refresh
    data = self._client._get_thermostat_data(self.deviceid)
  File "/home/homeassistant/.homeassistant/deps/somecomfort/client.py", line 449, in _get_thermostat_data
    return self._get_json(url)
  File "/home/homeassistant/.homeassistant/deps/somecomfort/client.py", line 425, in _get_json
    return self._request_json('get', *args, **kwargs)
  File "/home/homeassistant/.homeassistant/deps/somecomfort/client.py", line 422, in _request_json
    resp.status_code))
somecomfort.client.APIError: Unexpected 500 response from API
17-02-28 08:00:21 ERROR (Thread-12) [somecomfort] API returned 500 from /Device/CheckDataSession/624305 request
17-02-28 08:00:21 ERROR (MainThread) [homeassistant.components.climate] Error while update entity from honeywell in climate
Traceback (most recent call last):
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 396, in _update_entity_states
    yield from update_coro
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 212, in async_update_ha_state
    yield from self.hass.loop.run_in_executor(None, self.update)
  File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
    value = future.result()
  File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
    raise self._exception
  File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/climate/honeywell.py", line 279, in update
    self._device.refresh()
  File "/home/homeassistant/.homeassistant/deps/somecomfort/client.py", line 87, in refresh
    data = self._client._get_thermostat_data(self.deviceid)
  File "/home/homeassistant/.homeassistant/deps/somecomfort/client.py", line 449, in _get_thermostat_data
    return self._get_json(url)
  File "/home/homeassistant/.homeassistant/deps/somecomfort/client.py", line 425, in _get_json
    return self._request_json('get', *args, **kwargs)
  File "/home/homeassistant/.homeassistant/deps/somecomfort/client.py", line 422, in _request_json
    resp.status_code))
somecomfort.client.APIError: Unexpected 500 response from API
17-02-28 09:28:49 ERROR (Thread-4) [somecomfort] API returned 500 from /Device/CheckDataSession/624305 request
17-02-28 09:28:49 ERROR (MainThread) [homeassistant.components.climate] Error while update entity from honeywell in climate
Traceback (most recent call last):
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 396, in _update_entity_states
    yield from update_coro
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 212, in async_update_ha_state
    yield from self.hass.loop.run_in_executor(None, self.update)
  File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
    value = future.result()
  File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
    raise self._exception
  File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/climate/honeywell.py", line 279, in update
    self._device.refresh()
  File "/home/homeassistant/.homeassistant/deps/somecomfort/client.py", line 87, in refresh
    data = self._client._get_thermostat_data(self.deviceid)
  File "/home/homeassistant/.homeassistant/deps/somecomfort/client.py", line 449, in _get_thermostat_data
    return self._get_json(url)
  File "/home/homeassistant/.homeassistant/deps/somecomfort/client.py", line 425, in _get_json
    return self._request_json('get', *args, **kwargs)
  File "/home/homeassistant/.homeassistant/deps/somecomfort/client.py", line 422, in _request_json
    resp.status_code))
somecomfort.client.APIError: Unexpected 500 response from API
17-02-28 09:38:57 ERROR (Thread-5) [somecomfort] Failed to de-JSON /Device/CheckDataSession/624305 response
Traceback (most recent call last):
  File "/home/homeassistant/.homeassistant/deps/somecomfort/client.py", line 400, in _resp_json
    return resp.json()
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/requests/models.py", line 866, in json
    return complexjson.loads(self.text, **kwargs)
  File "/usr/lib/python3.4/json/__init__.py", line 318, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.4/json/decoder.py", line 343, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.4/json/decoder.py", line 361, in raw_decode
    raise ValueError(errmsg("Expecting value", s, err.value)) from None
ValueError: Expecting value: line 1 column 1 (char 0)
17-02-28 09:38:57 ERROR (MainThread) [homeassistant.components.climate] Error while update entity from honeywell in climate
Traceback (most recent call last):
  File "/home/homeassistant/.homeassistant/deps/somecomfort/client.py", line 400, in _resp_json
    return resp.json()
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/requests/models.py", line 866, in json
    return complexjson.loads(self.text, **kwargs)
  File "/usr/lib/python3.4/json/__init__.py", line 318, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.4/json/decoder.py", line 343, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.4/json/decoder.py", line 361, in raw_decode
    raise ValueError(errmsg("Expecting value", s, err.value)) from None
ValueError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 396, in _update_entity_states
    yield from update_coro
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 212, in async_update_ha_state
    yield from self.hass.loop.run_in_executor(None, self.update)
  File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
    value = future.result()
  File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
    raise self._exception
  File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/climate/honeywell.py", line 279, in update
    self._device.refresh()
  File "/home/homeassistant/.homeassistant/deps/somecomfort/client.py", line 87, in refresh
    data = self._client._get_thermostat_data(self.deviceid)
  File "/home/homeassistant/.homeassistant/deps/somecomfort/client.py", line 449, in _get_thermostat_data
    return self._get_json(url)
  File "/home/homeassistant/.homeassistant/deps/somecomfort/client.py", line 425, in _get_json
    return self._request_json('get', *args, **kwargs)
  File "/home/homeassistant/.homeassistant/deps/somecomfort/client.py", line 415, in _request_json
    return self._resp_json(resp, req)
  File "/home/homeassistant/.homeassistant/deps/somecomfort/client.py", line 405, in _resp_json
    raise APIError('Failed to process %s response', req)
somecomfort.client.APIError: ('Failed to process %s response', '/Device/CheckDataSession/624305')
17-02-28 09:54:12 ERROR (Thread-7) [somecomfort] API returned 500 from /Device/CheckDataSession/624305 request
17-02-28 09:54:12 ERROR (MainThread) [homeassistant.components.climate] Error while update entity from honeywell in climate
Traceback (most recent call last):
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 396, in _update_entity_states
    yield from update_coro
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 212, in async_update_ha_state
    yield from self.hass.loop.run_in_executor(None, self.update)
  File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
    value = future.result()
  File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
    raise self._exception
  File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/climate/honeywell.py", line 279, in update
    self._device.refresh()
  File "/home/homeassistant/.homeassistant/deps/somecomfort/client.py", line 87, in refresh
    data = self._client._get_thermostat_data(self.deviceid)
  File "/home/homeassistant/.homeassistant/deps/somecomfort/client.py", line 449, in _get_thermostat_data
    return self._get_json(url)
  File "/home/homeassistant/.homeassistant/deps/somecomfort/client.py", line 425, in _get_json
    return self._request_json('get', *args, **kwargs)
  File "/home/homeassistant/.homeassistant/deps/somecomfort/client.py", line 422, in _request_json
    resp.status_code))
somecomfort.client.APIError: Unexpected 500 response from API
17-02-28 15:10:16 ERROR (Thread-1) [somecomfort] API returned 500 from /Device/CheckDataSession/624305 request
17-02-28 15:10:16 ERROR (MainThread) [homeassistant.components.climate] Error while update entity from honeywell in climate
Traceback (most recent call last):
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 396, in _update_entity_states
    yield from update_coro
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 212, in async_update_ha_state
    yield from self.hass.loop.run_in_executor(None, self.update)
  File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
    value = future.result()
  File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
    raise self._exception
  File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/climate/honeywell.py", line 279, in update
    self._device.refresh()
  File "/home/homeassistant/.homeassistant/deps/somecomfort/client.py", line 87, in refresh
    data = self._client._get_thermostat_data(self.deviceid)
  File "/home/homeassistant/.homeassistant/deps/somecomfort/client.py", line 449, in _get_thermostat_data
    return self._get_json(url)
  File "/home/homeassistant/.homeassistant/deps/somecomfort/client.py", line 425, in _get_json
    return self._request_json('get', *args, **kwargs)
  File "/home/homeassistant/.homeassistant/deps/somecomfort/client.py", line 422, in _request_json
    resp.status_code))
somecomfort.client.APIError: Unexpected 500 response from API
17-02-28 16:27:27 ERROR (Thread-12) [somecomfort] API returned 500 from /Device/CheckDataSession/624305 request
17-02-28 16:27:27 ERROR (MainThread) [homeassistant.components.climate] Error while update entity from honeywell in climate
Traceback (most recent call last):
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 396, in _update_entity_states
    yield from update_coro
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 212, in async_update_ha_state
    yield from self.hass.loop.run_in_executor(None, self.update)
  File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
    value = future.result()
  File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
    raise self._exception
  File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/climate/honeywell.py", line 279, in update
    self._device.refresh()
  File "/home/homeassistant/.homeassistant/deps/somecomfort/client.py", line 87, in refresh
    data = self._client._get_thermostat_data(self.deviceid)
  File "/home/homeassistant/.homeassistant/deps/somecomfort/client.py", line 449, in _get_thermostat_data
    return self._get_json(url)
  File "/home/homeassistant/.homeassistant/deps/somecomfort/client.py", line 425, in _get_json
    return self._request_json('get', *args, **kwargs)
  File "/home/homeassistant/.homeassistant/deps/somecomfort/client.py", line 422, in _request_json
    resp.status_code))
somecomfort.client.APIError: Unexpected 500 response from API

Do you have a scan_interval set in the definition for the platform? If not, it’ll default to a too-frequent polling that may cause you to be rate-limited by the API. I’ve updated the platform docs (though this update hasn’t been merged yet).

I do not have it set. Any idea on what it should be set to?

I set mine to 600 - every 10 minutes.

That setting affects polling - you can still set a value whenever you like.

17-03-11 06:41:42 INFO (Thread-4) [somecomfort] Session refreshed
17-03-11 06:41:42 ERROR (MainThread) [homeassistant.components.climate] Error while update entity from honeywell in climate
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/helpers/entity_component.py", line 396, in _update_entity_states
    yield from update_coro
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/helpers/entity.py", line 212, in async_update_ha_state
    yield from self.hass.loop.run_in_executor(None, self.update)
  File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
    future.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
    raise self._exception
  File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/climate/honeywell.py", line 279, in update
    self._device.refresh()
  File "/home/benji/.homeassistant/deps/somecomfort/client.py", line 87, in refresh
    data = self._client._get_thermostat_data(self.deviceid)
  File "/home/benji/.homeassistant/deps/somecomfort/client.py", line 449, in _get_thermostat_data
    return self._get_json(url)
  File "/home/benji/.homeassistant/deps/somecomfort/client.py", line 425, in _get_json
    return self._request_json('get', *args, **kwargs)
  File "/home/benji/.homeassistant/deps/somecomfort/client.py", line 417, in _request_json
    raise APIRateLimited()
somecomfort.client.APIRateLimited: You are being rate-limited. Try waiting a bit.
17-03-11 06:42:07 INFO (MainThread) [homeassistant.components.http] Serving /description.xml to 192.168.1.194 (auth: False)
17-03-11 06:42:29 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.rm2_temperature, old_state=<state sensor.rm2_temperature=72.3; unit_of_measurement=°F, friendly_name=rm2 Temperature @ 2017-03-11T06:32:13.105692-05:00>, new_state=<state sensor.rm2_temperature=71.2; unit_of_measurement=°F, friendly_name=rm2 Temperature @ 2017-03-11T06:42:29.107428-05:00>>
17-03-11 06:42:59 INFO (MainThread) [homeassistant.components.http] Serving /description.xml to 192.168.1.194 (auth: False)
17-03-11 06:43:52 INFO (MainThread) [homeassistant.components.http] Serving /description.xml to 192.168.1.194 (auth: False)
17-03-11 06:44:43 INFO (Thread-18) [netdisco.service] Scanning
17-03-11 06:44:47 INFO (MainThread) [homeassistant.components.http] Serving /description.xml to 192.168.1.194 (auth: False)
17-03-11 06:45:39 INFO (MainThread) [homeassistant.components.http] Serving /description.xml to 192.168.1.194 (auth: False)
17-03-11 06:46:32 INFO (MainThread) [homeassistant.components.http] Serving /description.xml to 192.168.1.194 (auth: False)
17-03-11 06:47:27 INFO (MainThread) [homeassistant.components.http] Serving /description.xml to 192.168.1.194 (auth: False)
17-03-11 06:48:19 INFO (MainThread) [homeassistant.components.http] Serving /description.xml to 192.168.1.194 (auth: False)
17-03-11 06:49:12 INFO (MainThread) [homeassistant.components.http] Serving /description.xml to 192.168.1.194 (auth: False)
17-03-11 06:49:55 INFO (Thread-18) [netdisco.service] Scanning
17-03-11 06:50:05 INFO (MainThread) [homeassistant.components.http] Serving /description.xml to 192.168.1.194 (auth: False)
17-03-11 06:50:58 INFO (MainThread) [homeassistant.components.http] Serving /description.xml to 192.168.1.194 (auth: False)
17-03-11 06:51:43 INFO (Thread-9) [somecomfort] Session refreshed
17-03-11 06:51:43 ERROR (MainThread) [homeassistant.components.climate] Error while update entity from honeywell in climate
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/helpers/entity_component.py", line 396, in _update_entity_states
    yield from update_coro
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/helpers/entity.py", line 212, in async_update_ha_state
    yield from self.hass.loop.run_in_executor(None, self.update)
  File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
    future.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
    raise self._exception
  File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/climate/honeywell.py", line 279, in update
    self._device.refresh()
  File "/home/benji/.homeassistant/deps/somecomfort/client.py", line 87, in refresh
    data = self._client._get_thermostat_data(self.deviceid)
  File "/home/benji/.homeassistant/deps/somecomfort/client.py", line 449, in _get_thermostat_data
    return self._get_json(url)
  File "/home/benji/.homeassistant/deps/somecomfort/client.py", line 425, in _get_json
    return self._request_json('get', *args, **kwargs)
  File "/home/benji/.homeassistant/deps/somecomfort/client.py", line 417, in _request_json
    raise APIRateLimited()
somecomfort.client.APIRateLimited: You are being rate-limited. Try waiting a bit.

I changed my SCAN interval to 600 which is every ten minutes. But every ten min I am getting this error. I usually cant manage my thermostat until I restart HASS which is getting a little old.

Once I restart it works correctly for a while. I think its the was HASS is polling for data that is causing the issue because I feel if it was the Honeywell servers then a restart wouldnt fix it right away