panasonic_cc: Unexpected error creating device. DB system error due to db system
After Login, always this error: Unexpected error creating device.
Have deleted from HA and try to reinstall got this error now. Previous HA versions it works.
Unexpected error creating device
Traceback (most recent call last):
File "/config/custom_components/panasonic_cc/config_flow.py", line 60, in _create_device
devices = await self.hass.async_add_executor_job(api.get_devices)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/panasonic_cc/pcomfortcloud/session.py", line 207, in get_devices
self.login()
File "/config/custom_components/panasonic_cc/pcomfortcloud/session.py", line 106, in login
self._create_token()
File "/config/custom_components/panasonic_cc/pcomfortcloud/session.py", line 164, in _create_token
raise ResponseError(response.status_code, response.text)
custom_components.panasonic_cc.pcomfortcloud.session.ResponseError: Invalid response, status code: 500 - Data: {"code":5001,"message":"DB system error due to db system"}
Similar issue: https://github.com/sockless-coding/panasonic_cc/issues/147
Home Assistant: Core 2023.12.1 Supervisor 2023.11.6 Operating System 11.2 Interfície d’usuari 20231208.2
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 2
- Comments: 25 (1 by maintainers)
For people on Home Assistant where this update hasn’t yet come through on HACS:
Find session.py by:
pip show pcomfortcloudwill get something like: /usr/local/lib/python3.11/site-packages/nano /usr/local/lib/python3.11/site-packages/pcomfortcloud/session.pyfind"language": "0"on line 125. Replace with"language": 0save, reboot, you should be back online.