Giter VIP home page Giter VIP logo

Comments (4)

MTrab avatar MTrab commented on August 11, 2024 1

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.

from pyworxcloud.

MTrab avatar MTrab commented on August 11, 2024

Have you checked the log?
Could this be the same as #68 ?

from pyworxcloud.

anderswip avatar anderswip commented on August 11, 2024

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'

from pyworxcloud.

MTrab avatar MTrab commented on August 11, 2024

Moving this to the pyworxcloud repo, as this is related to a mismatch in MQTT informations on Landxcape devices, and not this integration

from pyworxcloud.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.