Skip to content
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

Error doing job: Task exception was never retrieved #266

Closed
colinnewman2000 opened this issue Jul 29, 2021 · 4 comments
Closed

Error doing job: Task exception was never retrieved #266

colinnewman2000 opened this issue Jul 29, 2021 · 4 comments
Milestone

Comments

@colinnewman2000
Copy link

Hi,

I have recently installed the V2 integration and am getting the error below in my log.

If you need anything else from me to investigate, please let me know.

Best regards

Colin

Logger: homeassistant
Source: custom_components/tuya_v2/climate.py:353
Integration: Tuya v2 (documentation)
First occurred: 10:18:35 (58 occurrences)
Last logged: 11:35:12

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 406, in async_update_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 450, in _async_write_ha_state
attr = self.capability_attributes
File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 219, in capability_attributes
ATTR_HVAC_MODES: self.hvac_modes,
File "/config/custom_components/tuya_v2/climate.py", line 353, in hvac_modes
modes = json.loads(self.tuya_device.function.get(DPCODE_MODE, {}).values).get(
File "/usr/local/lib/python3.9/json/init.py", line 339, in loads
raise TypeError(f'the JSON object must be str, bytes or bytearray, '
TypeError: the JSON object must be str, bytes or bytearray, not builtin_function_or_method

@EmilyNerdGirl
Copy link

EmilyNerdGirl commented Jul 29, 2021

Same issue here too. I have 2 Wifi Temperature Sensors and 1 WiFI Humidity sensor if that helps.

v1.4.2

@tsutsuku
Copy link
Collaborator

We will fix this bug in next release version.

@tsutsuku
Copy link
Collaborator

@colinnewman2000 Check v1.5.0.

@colinnewman2000
Copy link
Author

Resolved in 1.5.0. Excellent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants