Error when adding integration
Closed this issue · 2 comments
I am not able to get the integration working. Please see the below logg fra HA. Any tips on how to solve this is appreciated.
Error setting up entry XComfort for xcomfort
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 304, in async_setup
result = await component.async_setup_entry(hass, self) # type: ignore
File "/config/custom_components/xcomfort/init.py", line 27, in async_setup_entry
await coordinator.xc.connect()
File "/config/custom_components/xcomfort/xcomfortAPI.py", line 36, in connect
if not self.is_connected:
AttributeError: 'xcomfortAPI' object has no attribute 'is_connected'
You need to download the latest xcomfortAPI.py from github. There was a bug and current version of the file fixed that
That worked. Thanks a million.