Hi all!
I used my Honeywell Wifi (RTH6580WF) for a while by with the configuration.yaml :
‘’’
climate:
- platform: honeywell
username: [email protected]
password: mypassord
region: us
‘’’
But since I added a custom camera as:
‘’’
camera: - platform: generic
name: CH Camera
still_image_url: http://192.168.0.100/webcapture.jpg?command=snap&channel=1&user=myuser&password=mypass
stream_source: rtsp://192.168.0.100:554/user=myuser_password=mypass_channel=1_stream=0.sdp?real_stream
‘’’
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?