Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Nov 11, 2022. It is now read-only.
This repository was archived by the owner on Nov 11, 2022. It is now read-only.

Unavailable #17

@trplowman

Description

@trplowman

Had to reinstall my Home Assistant and when I tried to setup this integration it will install but my grill just shows as "unavailable". Was working on my previous installation of Home Assistant, not sure why it won't now. Below is the info from the log.

2021-07-10 12:39:45 DEBUG (SyncWorker_1) [pytuya] decrypted result=''
2021-07-10 12:39:45 ERROR (MainThread) [custom_components.recteq.device] Unexpected error fetching Wilbur data: Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 187, in _async_refresh
self.data = await self._async_update_data()
File "/config/custom_components/recteq/device.py", line 145, in _async_update_data
await self.async_update()
File "/config/custom_components/recteq/device.py", line 140, in async_update
await self.hass.async_add_executor_job(self.update)
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/recteq/device.py", line 127, in update
self._cached_status = self._pytuya.status()['dps']
File "/usr/local/lib/python3.9/site-packages/pytuya/init.py", line 311, in status
result = json.loads(result)
File "/usr/local/lib/python3.9/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.9/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python3.9/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2021-07-10 12:39:45 DEBUG (MainThread) [custom_components.recteq.device] Finished fetching Wilbur data in 0.207 seconds

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions