erikkastelec / hass-WEM-Portal

Custom component for retrieving sensor information from Weishaupt WEM Portal
MIT License
44 stars 10 forks source link

Multiple devices support #43

Open oestreicher42 opened 1 year ago

oestreicher42 commented 1 year ago

Hi, I am running version 1.3.16 on

Home Assistant 2022.11.1 Supervisor 2022.10.2 Operating System 9.3 Frontend 20221102.1 - latest

At the moment I have the following error message in the log:

Traceback (most recent call last): File "/config/custom_components/wemportal/wemportalapi.py", line 71, in fetch_webscraping_data self.data = processor.run([wemportal_job])[0] IndexError: list index out of range

On the weekend I added a second device into the wem portal. Since then only API calls are running (mode=both).

Please help.

erikkastelec commented 1 year ago

Multiple devices are currently not supported, but I am working on it. Will let you know if I need any additional information, as I currently have only one Weishaupt device.

oestreicher42 commented 1 year ago

great. thanks! If you need a beta tester I am happy to assist :-)

erikkastelec commented 1 year ago

While I work on this I suggest you make a new account on wemportal and authorize it from your main account for only one of the devices. This way it will work with this component and you can continue using it to get all the info for one of the devices.

oestreicher42 commented 1 year ago

that worked. thanks again! If you add support for multiple devices I will buy you another coffee :-)