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

LR30 Hybrid+ Status card won't load after HA restart #102

Open
Bifsie opened this issue Nov 10, 2024 · 0 comments
Open

LR30 Hybrid+ Status card won't load after HA restart #102

Bifsie opened this issue Nov 10, 2024 · 0 comments

Comments

@Bifsie
Copy link

Bifsie commented Nov 10, 2024

I restarted HA and the status card stopped working and says "unavailable". When clicking on the card, the popup says "This entity is no longer being provided by the robovac integration. If the entity is no longer in use, delete it in settings."

The battery status is working.

The logs show 3 errors:

Log details (ERROR)
Logger: homeassistant.helpers.entity
Source: helpers/entity.py:944
First occurred: 5:46:35 AM (5 occurrences)
Last logged: 5:50:35 AM

Update for vacuum.parker fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 944, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1302, in async_device_update
await self.async_update()
File "/config/custom_components/robovac/vacuum.py", line 302, in async_update
await self.async_update_vacuum()
File "/config/custom_components/robovac/vacuum.py", line 323, in async_update_vacuum
self.update_entity_values()
File "/config/custom_components/robovac/vacuum.py", line 354, in update_entity_values
self._tuya_command_codes[RobovacCommand.CLEANING_AREA]
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: <RobovacCommand.CLEANING_AREA: 'cleaning_area'>

Log details (ERROR)
This error originated from a custom integration.
Logger: homeassistant
Source: custom_components/robovac/vacuum.py:354
integration: Eufy Robovac (documentation, issues)
First occurred: 5:46:47 AM (41 occurrences)
Last logged: 5:50:53 AM

Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/config/custom_components/robovac/tuyalocalapi.py", line 806, in async_gratuitous_update_state
await self.update_entity_state_cb()
File "/config/custom_components/robovac/vacuum.py", line 330, in pushed_update_handler
self.update_entity_values()
File "/config/custom_components/robovac/vacuum.py", line 354, in update_entity_values
self._tuya_command_codes[RobovacCommand.CLEANING_AREA]
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: <RobovacCommand.CLEANING_AREA: 'cleaning_area'>

Log details (ERROR)
This error originated from a custom integration.
Logger: homeassistant
Source: custom_components/robovac/tuyalocaldiscovery.py:54
integration: Eufy Robovac (documentation, issues)
First occurred: 5:45:36 AM (256 occurrences)
Last logged: 5:51:01 AM

Error doing job: Exception in callback _SelectorDatagramTransport._read_ready() (None)
Traceback (most recent call last):
File "/config/custom_components/robovac/tuyalocaldiscovery.py", line 50, in datagram_received
padded_data = decryptor.update(data) + decryptor.finalize()
^^^^^^^^^^^^^^^^^^^^
ValueError: The length of the provided data is not a multiple of the block length.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/usr/local/lib/python3.12/asyncio/selector_events.py", line 1238, in _read_ready
self._protocol.datagram_received(data, addr)
File "/config/custom_components/robovac/tuyalocaldiscovery.py", line 54, in datagram_received
data = data.decode()
^^^^^^^^^^^^^
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa2 in position 1: invalid start byte

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

1 participant