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

eq3 bluetooth thermostat not recognised #76128

Closed
HandHsince1920 opened this issue Aug 3, 2022 · 3 comments
Closed

eq3 bluetooth thermostat not recognised #76128

HandHsince1920 opened this issue Aug 3, 2022 · 3 comments

Comments

@HandHsince1920
Copy link

The problem

Retried with current Home assistant version 2022.8.0b7 .
As when I tried it before first one of the bluetooth thermostats still worked the other one was "unavailable"
I will post log files from eqt3 addon as well as bluetooth log files.

What version of Home Assistant Core has the issue?

2022.8.0b7

What was the last working version of Home Assistant Core?

2022.6.7

What type of installation are you running?

Home Assistant OS

Integration causing the issue

EQ3 Bluetooth Smart Thermostats

Link to integration documentation on our website

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

Diagnostics information

Logger: homeassistant.bootstrap
Source: bootstrap.py:435
First occurred: 15:13:40 (1 occurrences)
Last logged: 15:13:40

Waiting on integrations to complete setup: climate.eq3btsmart, mobile_app


Logger: homeassistant.components.climate
Source: components/eq3btsmart/climate.py:219
Integration: Climate (documentation, issues)
First occurred: 15:13:47 (1 occurrences)
Last logged: 15:13:47

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 376, 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-1817' 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 attached to a different loop


Logger: bleak.backends.bluezdbus.client
Source: components/eq3btsmart/climate.py:219
First occurred: 15:17:50 (1 occurrences)
Last logged: 15:17:50

Failed to cancel connection (/org/bluez/hci0/dev_00_1A_22_10_A1_C7): 'NoneType' object has no attribute 'call'


Logger: homeassistant.config_entries
Source: components/bluetooth/init.py:345
First occurred: 15:18:02 (1 occurrences)
Last logged: 15:18:02

Error setting up entry Bluetooth for bluetooth
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 357, in async_setup
result = await component.async_setup_entry(hass, self)
File "/usr/src/homeassistant/homeassistant/components/bluetooth/init.py", line 255, in async_setup_entry
await manager.async_start(
File "/usr/src/homeassistant/homeassistant/components/bluetooth/init.py", line 345, in async_start
await self.scanner.start() # type: ignore[no-untyped-call]
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 376, 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-3488' coro=<RequestHandler._handle_request() running at /usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py:435> cb=[Task.task_wakeup()]> got Future attached to a different loop


Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

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)

@frenck
Copy link
Member

frenck commented Aug 3, 2022

duplicate of #76040

@frenck frenck closed this as not planned Won't fix, can't repro, duplicate, stale Aug 3, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Sep 2, 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

3 participants