Honeywell Thermostat stopped working after 99.3 update

Like the title says, I get:

Error while setting up platform honeywell
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 150, in _async_setup_platform
    await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
  File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
    return fut.result()
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/honeywell/climate.py", line 109, in setup_platform
    client = somecomfort.SomeComfort(username, password)
  File "/usr/local/lib/python3.7/site-packages/somecomfort/client.py", line 385, in __init__
    self._discover()
  File "/usr/local/lib/python3.7/site-packages/somecomfort/client.py", line 49, in wrapper
    return fn(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/somecomfort/client.py", line 509, in _discover
    self._locations[location.locationid] = location
UnboundLocalError: local variable 'location' referenced before assignment
Connection lost. Reconnecting…

Nothing has changed in the configuration. Rebooted multiple times. Any idea what’s going on?

Thanks!

1 Like

Also related, in the logs, I get:

> Failed to process location 44725: missing success element

In configuration.yaml:

# Honeywell Thermostat
climate:
  - platform: honeywell
    username: !secret device_username
    password: !secret honeywell
    region: us
    away_cool_temperature: 28
    away_heat_temperature: 16

Use your web browser to login to the Honeywell site and agree to the user agreement. This is blocking HA.

2 Likes

Ah, that solved it. It just happened at the same time as the upgrade to 99.3. Thanks!

Thank you ! It also worked for me :slight_smile: