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

[homeassistant.components.climate] eq3btsmart: Error on device update! #77110

Closed
Wave89 opened this issue Aug 21, 2022 · 6 comments
Closed

[homeassistant.components.climate] eq3btsmart: Error on device update! #77110

Wave89 opened this issue Aug 21, 2022 · 6 comments

Comments

@Wave89
Copy link

Wave89 commented Aug 21, 2022

The problem

Device could not be found. See error log

What version of Home Assistant Core has the issue?

2022.8.6

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

eq3

Link to integration documentation on our website

https://www.home-assistant.io/integrations/eq3btsmart/

Diagnostics information

No response

Example YAML snippet

# Loads default set of integrations. Do not remove.
default_config:
python_script:

# Text to speech
tts:
  - platform: google_translate

automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

logger:
  default: info
 # logs:
 #   homeassistant.components.yamaha: critical
 #   custom_components.my_integration: critical

climate:
  - platform: eq3btsmart
    devices:
      room1:
   #   unique_id: room1
        mac: '00:1A:22:16:E9:D8'

Anything in the logs that might be useful for us?

2022-08-21 20:27:59.179 ERROR (MainThread) [homeassistant.components.climate] eq3btsmart: Error on device update!
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 477, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 702, in async_device_update
    await task
  File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/eq3btsmart/climate.py", line 219, in update
    self._thermostat.update()
  File "/usr/local/lib/python3.10/site-packages/eq3bt/eq3btsmart.py", line 217, in update
    self._conn.make_request(PROP_WRITE_HANDLE, value)
  File "/usr/local/lib/python3.10/site-packages/eq3bt/bleakconnection.py", line 106, in make_request
    with self:
  File "/usr/local/lib/python3.10/site-packages/eq3bt/bleakconnection.py", line 51, in __enter__
    self._loop.run_until_complete(self._conn.connect())
  File "/usr/local/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
    return future.result()
  File "/usr/local/lib/python3.10/site-packages/bleak/backends/bluezdbus/client.py", line 107, in connect
    device = await BleakScannerBlueZDBus.find_device_by_address(
  File "/usr/local/lib/python3.10/site-packages/bleak/backends/scanner.py", line 221, in find_device_by_address
    return await cls.find_device_by_filter(
  File "/usr/local/lib/python3.10/site-packages/bleak/backends/scanner.py", line 250, in find_device_by_filter
    async with cls(detection_callback=apply_filter, **kwargs):
  File "/usr/local/lib/python3.10/site-packages/bleak/backends/scanner.py", line 96, in __aenter__
    await self.start()
  File "/usr/local/lib/python3.10/site-packages/bleak/backends/bluezdbus/scanner.py", line 137, in start
    self._stop = await manager.active_scan(
  File "/usr/local/lib/python3.10/site-packages/bleak/backends/bluezdbus/manager.py", line 384, in active_scan
    reply = await self._bus.call(
  File "/usr/local/lib/python3.10/site-packages/dbus_next/aio/message_bus.py", line 305, in call
    await future
RuntimeError: Task <Task pending name='Task-1115' coro=<BleakClientBlueZDBus.connect() running at /usr/local/lib/python3.10/site-packages/bleak/backends/bluezdbus/client.py:107> cb=[_run_until_complete_cb() at /usr/local/lib/python3.10/asyncio/base_events.py:184]> got Future <Future pending> attached to a different loop

Additional information

No response

@probot-home-assistant
Copy link

eq3btsmart documentation
eq3btsmart source
(message by IssueLinks)

@probot-home-assistant
Copy link

Hey there @rytilahti, mind taking a look at this issue as it has been labeled with an integration (eq3btsmart) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)

@rytilahti
Copy link
Member

Duplicate of #76040

@rytilahti rytilahti marked this as a duplicate of #76040 Aug 30, 2022
@Wave89
Copy link
Author

Wave89 commented Sep 2, 2022

Hey @rytilahti, sorry, but I didn't get it. What is the solution? I'm not running in a docker, so the solution here (#76888) isn't working.
So we should watch that issue for news: rytilahti/python-eq3bt#59 because it's not possible right now, is it?
Thank you

@rytilahti
Copy link
Member

Yes, there is currently no proper solution for this besides downgrading to the older homeassistant release. I just closed this as the issue is already tracked on that other one, you can click subscribe on it to receive updates whenever the state changes.

@Wave89
Copy link
Author

Wave89 commented Sep 4, 2022

Alright, thank you very much for the explanation. Ticket can be closed.

@github-actions github-actions bot locked and limited conversation to collaborators Oct 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants