eufy_vacuum icon indicating copy to clipboard operation
eufy_vacuum copied to clipboard

Error doing job: Task exception was never retrieved

Open nawwman opened this issue 3 years ago • 0 comments

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

nawwman avatar Nov 06 '22 12:11 nawwman