Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Error doing job: Task exception was never retrieved #18

Open
nawwman opened this issue Nov 6, 2022 · 0 comments
Open

Error doing job: Task exception was never retrieved #18

nawwman opened this issue Nov 6, 2022 · 0 comments

Comments

@nawwman
Copy link

nawwman commented Nov 6, 2022

Got this message in the HA logs:

`Logger: homeassistant
Source: custom_components/eufy_vacuum/property.py:36
Integration: Integration to Eufy Vacuum (documentation, issues)
First occurred: November 4, 2022 at 13:22:03 (8628 occurrences)
Last logged: 13:17:55
Error doing job: Task exception was never retrieved

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 812, in _update_entity_states
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 520, in async_update_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 573, in _async_write_ha_state
attr.update(self.state_attributes or {})
File "/usr/src/homeassistant/homeassistant/components/vacuum/init.py", line 341, in state_attributes
data = super().state_attributes
File "/usr/src/homeassistant/homeassistant/components/vacuum/init.py", line 224, in state_attributes
data[ATTR_BATTERY_ICON] = self.battery_icon
File "/usr/src/homeassistant/homeassistant/components/vacuum/init.py", line 331, in battery_icon
if self.status is not None:
File "/config/custom_components/eufy_vacuum/vacuum.py", line 116, in status
if self.robovac.error_code != robovac.ErrorCode.NO_ERROR:
File "/config/custom_components/eufy_vacuum/property.py", line 36, in get
value = self.type_cast(value)
File "/usr/local/lib/python3.10/enum.py", line 385, in call
return cls.new(cls, value)
File "/usr/local/lib/python3.10/enum.py", line 710, in new
raise ve_exc
ValueError: 0 is not a valid ErrorCode`

I got this in my configuration.yaml:
`eufy_vacuum:
devices:

  • name: Robovac
    address: 192.168.1.xx
    access_token: xxxxxxxxxx
    id: yyyyyyyyyyyyyyyyy
    type: T2118`

the strange thing is I don't have any Eufy Vacuum device, but under entities I have one vacuum.robovac_2 entity. I can also activate its buttons, but each time I get an error message. But the device is still getting the command and e.g. turning on

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

No branches or pull requests

1 participant