Climate Honeywell stopped working after I added a wifi camera

Hi all!

I used my Honeywell Wifi (RTH6580WF) for a while by with the configuration.yaml :
‘’’
climate:

My honeywell entity stopped working, and became “entity unavailable”, there is no honwywell entity for ever, even if I remove the camera and restart HA.

My debug output say:

2019-09-24 14:43:39 ERROR (MainThread) [homeassistant.components.climate] Error while setting up platform honeywell
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py”, line 150, in _async_setup_platform
await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
File “/usr/lib/python3.7/asyncio/tasks.py”, line 416, in wait_for
return fut.result()
File “/usr/lib/python3.7/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/honeywell/climate.py”, line 109, in setup_platform
client = somecomfort.SomeComfort(username, password)
File “/srv/homeassistant/lib/python3.7/site-packages/somecomfort/client.py”, line 385, in init
self._discover()
File “/srv/homeassistant/lib/python3.7/site-packages/somecomfort/client.py”, line 49, in wrapper
return fn(*args, **kwargs)
File “/srv/homeassistant/lib/python3.7/site-packages/somecomfort/client.py”, line 509, in _discover
self._locations[location.locationid] = location
UnboundLocalError: local variable ‘location’ referenced before assignment

Why this append?

I upgraded to 0.99 yesterday, and ran into a similar problem but my error log showed a different error. I rebooted a few hours later, thinking it may be a rate limiting problem, but no luck.
What I did do was to use a web browser and logged into the honeywell website and instead of getting a web page to control my thermostats, I instead got a new user agreement. After agreeing, I got access to my thermostat controls. I logged out of the web site and rebooted HA and the HA honeywell thermostats showed up without any errors. I don’t know if that was the fix, but it did work.

2 Likes

Wow! That was the case for me too! That was also an agreement approval.

Thanks a lot wmaker! :slight_smile:

Great!! If you would, mark this topic as solved!!

I searched a lot until I saw : Solution!!! :stuck_out_tongue:

This error just occurred for me too. I found this thread after logging into Honeywell TCC website and agreeing to terms, but before restarting.

Agreeing to terms and restarting solved the issue.