-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Help- i d'not see my Heatpump #18
Comments
Hi @fabrydivx, I've created a quick fix for this problem. Can you test it. By using this file in the custom component: https://github.com/djbulsink/panasonic_ac/blob/fix/heat-pump/custom_components/panasonic_ac/climate.py . In the future I hope to implement the horizontal airswing. DJ. |
Hi i am getting this error: Logger: homeassistant.components.climate panasonic_ac: Error on device update! During handling of the above exception, another exception occurred: Traceback (most recent call last): |
Hi,
i see only two heatpump , i have 4 Ac in my house .
In Hassio i see that error:
2020-03-16 16:41:34 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for panasonic_ac which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2020-03-16 16:41:44 WARNING (MainThread) [homeassistant.components.climate] Setup of climate platform panasonic_ac is taking over 10 seconds.
2020-03-16 16:42:01 ERROR (MainThread) [homeassistant.components.climate] panasonic_ac: Error on device update!
ValueError: 5 is not a valid AirSwingLR
During handling of the above exception, another exception occurred:
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.7/site-packages/pcomfortcloud/session.py", line 239, in get_device
'parameters': self._read_parameters(_json['parameters'])
File "/usr/local/lib/python3.7/site-packages/pcomfortcloud/session.py", line 374, in _read_parameters
value['airSwingHorizontal'] = constants.AirSwingLR(parameters['airSwingLR'])
File "/usr/local/lib/python3.7/enum.py", line 310, in call
return cls.new(cls, value)
File "/usr/local/lib/python3.7/enum.py", line 564, in new
raise exc
File "/usr/local/lib/python3.7/enum.py", line 548, in new
result = cls.missing(value)
File "/usr/local/lib/python3.7/enum.py", line 577, in missing
raise ValueError("%r is not a valid %s" % (value, cls.name))
ValueError: 5 is not a valid AirSwingLR
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 312, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 476, in async_device_update
await self.hass.async_add_executor_job(self.update)
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, 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.7/site-packages/pcomfortcloud/session.py", line 222, 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}
Can you help me ? thanks :)
The text was updated successfully, but these errors were encountered: