Closed anderswip closed 2 years ago
Have you checked the log? Could this be the same as MTrab/pyworxcloud#68 ?
Logger: homeassistant.components.websocket_api.http.connection Source: custom_components/landroid_cloud/device_base.py:635 Integration: Home Assistant WebSocket API (documentation, issues) First occurred: 08.53.04 (5 occurrences) Last logged: 08.54.28
[547145056656] 'DeviceHandler' object has no attribute 'mqtt' [547142853168] 'DeviceHandler' object has no attribute 'mqtt' [547142847120] 'DeviceHandler' object has no attribute 'mqtt' Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 193, in handle_call_service await hass.services.async_call( File "/usr/src/homeassistant/homeassistant/core.py", line 1713, in async_call task.result() File "/usr/src/homeassistant/homeassistant/core.py", line 1750, in _execute_service await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)( File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service await service.entity_service_call( File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 680, in entity_service_call future.result() # pop exception if have File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 930, in async_request_call await coro File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 717, in _handle_entity_call await result File "/config/custom_components/landroid_cloud/device_base.py", line 635, in async_start await self.hass.async_add_executor_job(device.start) File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/site-packages/pyworxcloud/utils/actions.py", line 219, in start self.mqtt.command(self.name, Command.START) AttributeError: 'DeviceHandler' object has no attribute 'mqtt'
Hmmm - seems like the MQTT handler is not being successfully registered. Thanks :)
And confirmed, by the way. Just tested with the Landxcape I have test access to, and I see the same.
Moving this to the pyworxcloud repo, as this is related to a mismatch in MQTT informations on Landxcape devices, and not this integration
LandXcape stuck with initializing. Loggin in on cloud and find the robot, but entities just showing initializing. Cant start