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 #77189

Closed
danimaciasperea opened this issue Aug 23, 2022 · 5 comments
Closed

homeassistant.components.climate - eq3btsmart error #77189

danimaciasperea opened this issue Aug 23, 2022 · 5 comments

Comments

@danimaciasperea
Copy link

danimaciasperea commented Aug 23, 2022

The problem

After update Home Assistant, there is an error while setting up eq3btsmart platform for climate that prevents it from working.

What version of Home Assistant Core has the issue?

2022.8.6

What was the last working version of Home Assistant Core?

2021.9.1

What type of installation are you running?

Home Assistant Core

Integration causing the issue

climate, eq3btsmart

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

climate:
  - platform: eq3btsmart
    devices:
      bath:
        mac: "00:1A:22:08:BF:D6"

Anything in the logs that might be useful for us?

Logger: homeassistant.components.climate
Source: components/eq3btsmart/climate.py:111
Integration: Climatización ([documentation](https://www.home-assistant.io/integrations/climate), [issues](https://github.com/home-assistant/home-assistant/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+climate%22))
First occurred: 02:04:22 (1 occurrences)
Last logged: 02:04:22

Error while setting up eq3btsmart platform for climate
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/helpers/entity_platform.py", line 281, in _async_setup_platform
    await asyncio.shield(task)
  File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/eq3btsmart/climate.py", line 94, in setup_platform
    devices.append(EQ3BTSmartThermostat(mac, name))
  File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/eq3btsmart/climate.py", line 111, in __init__
    self._thermostat = eq3.Thermostat(_mac)
  File "/srv/homeassistant/lib/python3.9/site-packages/eq3bt/eq3btsmart.py", line 99, in __init__
    self._conn = connection_cls(_mac, _iface)
  File "/srv/homeassistant/lib/python3.9/site-packages/eq3bt/bleakconnection.py", line 34, in __init__
    self._notifyevent = asyncio.Event()
  File "/usr/local/lib/python3.9/asyncio/locks.py", line 177, in __init__
    self._loop = events.get_event_loop()
  File "/usr/local/lib/python3.9/asyncio/events.py", line 642, in get_event_loop
    raise RuntimeError('There is no current event loop in thread %r.'
RuntimeError: There is no current event loop in thread 'SyncWorker_3'.

Additional information

No response

@probot-home-assistant
Copy link

eq3btsmart documentation
eq3btsmart source
(message by IssueLinks)

@probot-home-assistant
Copy link

climate documentation
climate 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)

@probot-home-assistant
Copy link

Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration (climate) 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
@github-actions github-actions bot locked and limited conversation to collaborators Sep 29, 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