sampsyo / hass-smartthinq

Home Assistant component for LG SmartThinQ HVAC devices
MIT License
281 stars 98 forks source link

Does not work after update. #82

Open skazo4nik opened 3 years ago

skazo4nik commented 3 years ago

After update integration does not work =( Here is log:

smartthinq: Error on device update! Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 335, in _async_add_entity await entity.async_device_update(warning=False) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 456, in async_device_update await self.hass.async_add_executor_job( 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/smartthinq/climate.py", line 344, in update self.check_power() File "/config/custom_components/smartthinq/climate.py", line 313, in check_power power = self._ac.get_power() File "/usr/local/lib/python3.8/site-packages/wideq/ac.py", line 324, in get_power value = self._get_config('InOutInstantPower') File "/usr/local/lib/python3.8/site-packages/wideq/client.py", line 431, in _get_config data = self.client.session.get_device_config( File "/usr/local/lib/python3.8/site-packages/wideq/core.py", line 486, in get_device_config res = self.post('rti/rtiControl', { File "/usr/local/lib/python3.8/site-packages/wideq/core.py", line 394, in post return lgedm_post(url, data, self.auth.access_token, self.session_id) File "/usr/local/lib/python3.8/site-packages/wideq/core.py", line 213, in lgedm_post raise APIError(code, message) wideq.core.APIError: ('0111', '제품 응답 지연')

aleksandryants commented 3 years ago

Same thing with me

mew0717 commented 3 years ago

same issue here

AvirupDas commented 3 years ago

Same issue for me

vk2him commented 3 years ago

Mine broke as well when I updated - damn!

vk2him commented 3 years ago

After update, mine broke - I had to get a new token via the $ python3 example.py -c US -l en-US process and it then worked again ....