Panasonic_cc is broken, from error log it seems that there is some sort of update on Panasonic side.
Logger: homeassistant.components.websocket_api.http.connection
Source: custom_components/panasonic_cc/panasonic.py:23
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 7:51:41 AM (4 occurrences)
Last logged: 7:51:53 AM
[140199811433760] Invalid response, status code: 401 - Data: {“message”:“New version app has been published”,“code”:4106}
Sorry for an old bump. But just had a new Panasonic AC installed. When I try using the Custom Component. I get a 403 Forbidden error in the logs. I tried running the pcomfortcloud python module directly and I get exactly r the same error.
Any idea how do I fix this?
You are better off using HACS to maintain this. There was a hiccup (403) with the panasonic site (keeps changing rules) but the latest integration installed via HACS works again.
Hi,
I have just tried to installed home Assistant and wanted to integrate my panasonic heat pump but I get the following error in he log?
Logger: homeassistant.components.climate
Source: custom_components/panasonic_ac/climate.py:113
Integration: Climate (documentation, issues)
First occurred: 10:20:14 AM (1 occurrences)
Last logged: 10:20:14 AM
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.10/site-packages/pcomfortcloud/session.py”, line 274, in get_device
raise ResponseError(response.status_code, response.text)
pcomfortcloud.session.ResponseError: Invalid response, status code: 403 - Data: {“message”:“Have no authority to the request”,“code”:4300}
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 477, in _async_add_entity
await entity.async_device_update(warning=False)
File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 702, in async_device_update
await task
File “/usr/local/lib/python3.10/concurrent/futures/thread.py”, line 58, 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.10/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}
The 403 HTTP error is because panasonic keeps changing their interface, you may have to upgrade pcomfortcloud which is used under the cover from the panasonic integration. As recommended before if you manage panasonic via HACS, then is will be a lot easier.