Closed birdman9876 closed 3 years ago
My integration also stopped working.
2020-11-03 16:24:04 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.8/site-packages/pcomfortcloud/session.py", line 290, in get_device 'parameters': self._read_parameters(_json['parameters']) File "/usr/local/lib/python3.8/site-packages/pcomfortcloud/session.py", line 432, in _read_parameters value['airSwingHorizontal'] = constants.AirSwingLR(parameters['airSwingLR']) File "/usr/local/lib/python3.8/enum.py", line 315, in call return cls.new(cls, value) File "/usr/local/lib/python3.8/enum.py", line 617, in new raise ve_exc 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 357, in _async_add_entity await entity.async_device_update(warning=False) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 466, in async_device_update await task File "/usr/local/lib/python3.8/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.8/site-packages/pcomfortcloud/session.py", line 290, in get_device 'parameters': self._read_parameters(_json['parameters']) File "/usr/local/lib/python3.8/site-packages/pcomfortcloud/session.py", line 432, in _read_parameters value['airSwingHorizontal'] = constants.AirSwingLR(parameters['airSwingLR']) File "/usr/local/lib/python3.8/enum.py", line 315, in call return cls.new(cls, value) File "/usr/local/lib/python3.8/enum.py", line 617, in new raise ve_exc ValueError: 5 is not a valid AirSwingLR
You can try to update “manifest.json” file with pcomfortcloud==0.0.17 This file is in config/custom_components/panasonic_ac/ I think you also need to accept the new licence agreement in the panasonic app on your phone
@kojax-net : Did both. That fixed the problem! Thank you!
You can try to update “manifest.json” file with pcomfortcloud==0.0.17 This file is in config/custom_components/panasonic_ac/ I think you also need to accept the new licence agreement in the panasonic app on your phone
As with @pcbjonnes, that did the trick. Thanks!
Howdy,
I've had this integration working in my Home Assistant deployment just fine for quite sometime, however it stopped working for no apparent reason (though, tbh, I keep HA etc pretty up-to-date, so it's possible one of the updates broke it - I just can't directly correlate an update to the break). The logs in HA show this:
Any suggestions much appreciated.