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

Not detecting the robovacs #86

Open
Kk050505 opened this issue Jun 8, 2024 · 4 comments
Open

Not detecting the robovacs #86

Kk050505 opened this issue Jun 8, 2024 · 4 comments

Comments

@Kk050505
Copy link

Kk050505 commented Jun 8, 2024

Used to work when I had one vac in the account. Added one more and now both robovacs are not being detected right. None of the parameters appear. Tried multiple times to remove the custom repo, delete the integration, reboot HA. Still the same.
Tried multiple versions of the repo including beta.
Error as logged from log viewer -
File "/config/custom_components/robovac/vacuum.py", line 267, in init
self._attr_supported_features = self.vacuum.getHomeAssistantFeatures()
^^^^^^^^^^^
AttributeError: 'RoboVacEntity' object has no attribute 'vacuum'

@Kk050505
Copy link
Author

Kk050505 commented Jun 8, 2024

25c was the first one and it worked fine. Added X8 pro and nothing seems to work. Both vacs have no attributes/entities. Battery shows unknown and no other parameters are picked up.

@FelixJanemalm
Copy link

FelixJanemalm commented Jun 9, 2024

Same issue here with fresh installation.

  1. Added new robovac (X10 Pro Omni) through the eufy Clean app
  2. Freshly installed integration
  3. Followed instructions and logged in using Eufy account credentials
  4. No devices or entities detected in the integration

Edit: Just saw #68 regarding the X10

@Kk050505
Copy link
Author

Kk050505 commented Jun 9, 2024

Recent error logged was this
Logger: homeassistant.components.vacuum
Source: helpers/entity_platform.py:356
integration: Vacuum (documentation, issues)
First occurred: 11:06:29 PM (3 occurrences)
Last logged: 11:06:56 PM

Error while setting up robovac platform for vacuum
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 356, in _async_setup_platform
await asyncio.shield(awaitable)
File "/config/custom_components/robovac/vacuum.py", line 116, in async_setup_entry
entity = RoboVacEntity(item)
^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/robovac/vacuum.py", line 284, in init
self._attr_supported_features = self.vacuum.getHomeAssistantFeatures()
^^^^^^^^^^^
AttributeError: 'RoboVacEntity' object has no attribute 'vacuum'

@MartinBachmannHD
Copy link

...similar error in the vacuum.py with an X8 Hybrid - here is the log ( I am on the Beta):

2024-07-08T07:29:36.684104756Z 2024-07-08 09:29:36.681 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None)
2024-07-08T07:29:36.684151682Z Traceback (most recent call last):
2024-07-08T07:29:36.684159904Z File "/config/custom_components/robovac/tuyalocalapi.py", line 806, in async_gratuitous_update_state
2024-07-08T07:29:36.684167107Z await self.update_entity_state_cb()
2024-07-08T07:29:36.684173274Z File "/config/custom_components/robovac/vacuum.py", line 330, in pushed_update_handler
2024-07-08T07:29:36.684179663Z self.update_entity_values()
2024-07-08T07:29:36.684185385Z File "/config/custom_components/robovac/vacuum.py", line 354, in update_entity_values
2024-07-08T07:29:36.684191459Z self._tuya_command_codes[RobovacCommand.CLEANING_AREA]
2024-07-08T07:29:36.684197292Z ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-07-08T07:29:36.684203052Z KeyError: <RobovacCommand.CLEANING_AREA: 'cleaning_area'>

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