CodeFoodPixels / robovac

Add a Eufy RoboVac easily to Home Assistant
Other
143 stars 32 forks source link

Not detecting the robovacs #86

Open Kk050505 opened 5 months ago

Kk050505 commented 5 months ago

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 commented 5 months ago

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 commented 5 months ago

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 commented 5 months ago

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 commented 4 months ago

...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'>