djbulsink / panasonic_ac

Panasonic Comfort Cloud HA component
30 stars 16 forks source link

Error on device update #37

Open djoenez opened 2 years ago

djoenez commented 2 years ago

Hello,

I would like to use your implementation to read out data from my new heatpump. but unfortunately i get below error when i have installed it via HACS:

2022-01-22 09:10:56 ERROR (MainThread) [homeassistant.components.climate] panasonic_ac: Error on device update! Traceback (most recent call last): File "/config/custom_components/panasonic_ac/climate.py", line 109, in update data= self._api.get_device(self._device['id']) File "/usr/local/lib/python3.9/site-packages/pcomfortcloud/session.py", line 274, in get_device raise ResponseError(response.status_code, response.text) pcomfortcloud.session.ResponseError: Invalid response, status code: 500 - Data: {"message":"Adapter Communication error","code":5005} During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 431, in _async_add_entity await entity.async_device_update(warning=False) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 684, in async_device_update await task File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run result = self.fn(*self.args, **self.kwargs) File "/config/custom_components/panasonic_ac/climate.py", line 113, in update data = self._api.get_device(self._device['id']) File "/usr/local/lib/python3.9/site-packages/pcomfortcloud/session.py", line 274, in get_device raise ResponseError(response.status_code, response.text) pcomfortcloud.session.ResponseError: Invalid response, status code: 500 - Data: {"message":"Adapter Communication error","code":5005}