Open Kk050505 opened 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.
Same issue here with fresh installation.
Edit: Just saw #68 regarding the X10
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'
...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'>
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'