You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use to have my LG HVAC working some time ago but it stopped after an update to home assistant. I've tried doing a reinstall of the custom component tonight. deleting smartthinq and wideq from my custom_components folder. restarting, re installing and getting a new token from LG using wideq but it still seems to be unable to add the component .
I'm running core-2021.9.6, supervisor-2021.09.0.
I'm getting this in the logs
2021-09-18 21:34:30 ERROR (MainThread) [homeassistant.components.climate] Error while setting up smartthinq platform for climate Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 257, in _async_setup_platform await asyncio.gather(*pending) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities await asyncio.gather(*tasks) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 587, in _async_add_entity await entity.add_to_platform_finish() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 698, in add_to_platform_finish self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 464, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 500, in _async_write_ha_state attr.update(self.state_attributes or {}) File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 305, in state_attributes data[ATTR_SWING_MODE] = self.swing_mode File "/config/custom_components/smartthinq/climate.py", line 221, in swing_mode if v[0] == self._state.horz_swing and v[1] == self._state.vert_swing: File "/usr/local/lib/python3.9/site-packages/wideq/ac.py", line 419, in vert_swing return ACVSwingMode(lookup_enum('WDirVStep', self.data, self.ac)) File "/usr/local/lib/python3.9/site-packages/wideq/util.py", line 17, in lookup_enum return device.model.enum_name(attr, data[attr]) File "/usr/local/lib/python3.9/site-packages/wideq/client.py", line 350, in enum_name options = self.value(key).options AttributeError: 'RangeValue' object has no attribute 'options'
Would anyone have any advice on getting this working again? using my aircon in home assistant was so much better than the LG app.
The text was updated successfully, but these errors were encountered:
Hey everyone,
I use to have my LG HVAC working some time ago but it stopped after an update to home assistant. I've tried doing a reinstall of the custom component tonight. deleting smartthinq and wideq from my custom_components folder. restarting, re installing and getting a new token from LG using wideq but it still seems to be unable to add the component .
I'm running core-2021.9.6, supervisor-2021.09.0.
I'm getting this in the logs
2021-09-18 21:34:30 ERROR (MainThread) [homeassistant.components.climate] Error while setting up smartthinq platform for climate Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 257, in _async_setup_platform await asyncio.gather(*pending) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities await asyncio.gather(*tasks) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 587, in _async_add_entity await entity.add_to_platform_finish() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 698, in add_to_platform_finish self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 464, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 500, in _async_write_ha_state attr.update(self.state_attributes or {}) File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 305, in state_attributes data[ATTR_SWING_MODE] = self.swing_mode File "/config/custom_components/smartthinq/climate.py", line 221, in swing_mode if v[0] == self._state.horz_swing and v[1] == self._state.vert_swing: File "/usr/local/lib/python3.9/site-packages/wideq/ac.py", line 419, in vert_swing return ACVSwingMode(lookup_enum('WDirVStep', self.data, self.ac)) File "/usr/local/lib/python3.9/site-packages/wideq/util.py", line 17, in lookup_enum return device.model.enum_name(attr, data[attr]) File "/usr/local/lib/python3.9/site-packages/wideq/client.py", line 350, in enum_name options = self.value(key).options AttributeError: 'RangeValue' object has no attribute 'options'
Would anyone have any advice on getting this working again? using my aircon in home assistant was so much better than the LG app.
The text was updated successfully, but these errors were encountered: