Hi, I failed to get ViCare running in Home Assistant (Synology docker installation)
I can add ViCare module successfully, but immediately after installation I get the error in log below:
Logger: homeassistant.config_entries
Source: components/vicare/__init__.py:128
First occurred: 14:45:51 (1 occurrences)
Last logged: 14:45:51
Error setting up entry PyViCare2 for vicare
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 313, in async_setup
result = await component.async_setup_entry(hass, self) # type: ignore
File "/usr/src/homeassistant/homeassistant/components/vicare/__init__.py", line 98, in async_setup_entry
await hass.async_add_executor_job(setup_vicare_api, hass, entry)
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/vicare/__init__.py", line 128, in setup_vicare_api
device = vicare_api.devices[0]
IndexError: list index out of range
When I tried the first time, my Viesmann heating module was detected successfully and all data were accessible, unfortunately I ran in the API limitations and had to install again (after two days). From that moment on I had tis error.
I deleted the db and reinstalled home assistant, but w/o any success.
Anybody an idea what that means?
So, I did a clean install with a new SD Card because the old one seems to be broken. First item I wanted do add was ViCare but without hesitation I got the error again.
@oischinger Hope I don’t bother when I tag you in this topic. Do you have any idea? Or should I create a ticket on github?
My error is exactly the same as aswdos:
Logger: homeassistant.config_entries
Source: components/vicare/__init__.py:128
First occurred: 15:31:47 (1 occurrences)
Last logged: 15:31:47
Error setting up entry ViCare for vicare
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 313, in async_setup
result = await component.async_setup_entry(hass, self) # type: ignore
File "/usr/src/homeassistant/homeassistant/components/vicare/__init__.py", line 98, in async_setup_entry
await hass.async_add_executor_job(setup_vicare_api, hass, entry)
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/vicare/__init__.py", line 128, in setup_vicare_api
device = vicare_api.devices[0]
IndexError: list index out of range