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

Python 3.10 incompatibility - removed loop param in asyncio.open_connection #19

Closed
JanSimek opened this issue Jan 29, 2022 · 4 comments
Closed

Comments

@JanSimek
Copy link

  • Satel Integra version: INTEGRA 128
  • Python version: 3.10.1
  • Operating System: Arch Linux x86_64

Description

I configured the connection to Satel ETHM-1 Plus according to the official documentation but after restarting home assistant I can see the following error in logs:

Jan 29 19:51:56 simserver hass[679839]: 2022-01-29 19:51:56 WARNING (MainThread) [satel_integra.satel_integra] Exception during connecting: BaseEventLoop.create_connection() got an unexpected keyword argument 'loop'.
Jan 29 19:51:56 simserver hass[679839]: 2022-01-29 19:51:56 ERROR (MainThread) [homeassistant.setup] Setup failed for satel_integra: Integration failed to initialize.

What I Did

My configuration looks like this:

satel_integra:
  host: 192.168.1.112
  port: 7090
  partitions:
    01:
      name: "Domov"
  zones:
    01:
      name: "LAG Pradelna"
      type: "opening"
@JanSimek
Copy link
Author

I also found a similar issue with the MPD integration. I don't know Python, so I am not sure if it is related or not: home-assistant/core#59006

@JanSimek
Copy link
Author

@JanSimek JanSimek changed the title unexpected keyword argument 'loop' Python 3.10 incompatibility - removed loop param in asyncio.open_connection Jan 30, 2022
@Tommatheussen
Copy link
Contributor

Any progress on this? I just installed the Home Assistant 2022.7 beta, and it now fully switched to Python 3.10.
Next week wednesday (July 6th) the full release will drop, breaking the integration.

@c-soft
Copy link
Owner

c-soft commented Jul 4, 2022

Thanks for the fix. Working to get it across.

@c-soft c-soft closed this as completed Jul 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants