home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.89k stars 30.12k forks source link

Elk M1 no longer integrating after upgrade to Core 2023.6 #94198

Closed witoldwitkowski closed 1 year ago

witoldwitkowski commented 1 year ago

The problem

After upgrading to 6.0 from 5.x was unable to connect to the Elk M1.

What version of Home Assistant Core has the issue?

6.0

What was the last working version of Home Assistant Core?

5.4

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Elk M1

Link to integration documentation on our website

https://github.com/home-assistant/core/tree/dev/homeassistant/components/elkm1

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: elkm1_lib.connection
Source: components/elkm1/__init__.py:389
First occurred: 9:00:17 PM (12 occurrences)
Last logged: 9:14:35 PM

ElkM1 at elks://192.168.1.190 disconnecting

Logger: elkm1_lib.connection
Source: runner.py:179
First occurred: 8:59:57 PM (185 occurrences)
Last logged: 9:15:39 PM

Error connecting to ElkM1 ([SSL: NO_PROTOCOLS_AVAILABLE] no protocols available (_ssl.c:1002)). Retrying in 60 seconds
Error connecting to ElkM1 ([SSL: NO_PROTOCOLS_AVAILABLE] no protocols available (_ssl.c:1002)). Retrying in 4 seconds
Error connecting to ElkM1 ([SSL: NO_PROTOCOLS_AVAILABLE] no protocols available (_ssl.c:1002)). Retrying in 8 seconds
Error connecting to ElkM1 ([SSL: NO_PROTOCOLS_AVAILABLE] no protocols available (_ssl.c:1002)). Retrying in 16 seconds
Error connecting to ElkM1 ([SSL: NO_PROTOCOLS_AVAILABLE] no protocols available (_ssl.c:1002)). Retrying in 32 seconds

Additional information

No response

frr032 commented 1 year ago

I also confirm that the latest fix works for me as well. 2023.6.1

Not sue if it makes any sense by my Roku and Magic Home integrations are working now too!!!

Thank you so much for so quickly resolving this issue. Much appreciated.

bdraco commented 1 year ago

Fixed is merged and will be in 2023.6.2

starman2k01 commented 1 year ago

Can confirm new build fixed.

starman2k01 commented 1 year ago

Can also confirm Roku is broken...

euggersh commented 1 year ago

For those of us with a lesser understanding about the internals of Home Assistant, how do I get this fix before 2023.6.3 rolls out?

gwww commented 1 year ago

It is in .2

To get read above in the thread.

bdraco commented 1 year ago

The command to use the linked PR has been posted multiple times in this issue

euggersh commented 1 year ago

Thanks.

wappinghigh commented 1 year ago

You guys rock thanks so much! Very much appreciated.

euggersh commented 1 year ago

Having installed the fix before it officially became part of a Home Assistant update, may I ask how to restore my installation so that this integration isn't seen as custom and updates along with Home Assistant Core?

bdraco commented 1 year ago

rm -rf /config/custom_components/elkm1

euggersh commented 1 year ago

Will that remove my existing entities or will everything go back to normal using the core integration?

bdraco commented 1 year ago

It will only delete the custom component and leave the core integration as is