Hi @Adrian_Rockall,
I sent you new logs after and following your instructions. 
I donât know about your HA question, but the result was the same when I temporarily deleted the HA device.
Should I fully delete the YoLink integration in HA perhaps?
Hmm, looking at the new log it should all be working now as it connected to the broker successfully this time.
Could it be that it doesnât connect successfully after a reboot or something like that?
The error was
Connection refused: Not authorized
So, not sure why a reboot would cause that. Hmm, unless the old connection wasnât disconnected and there wasnât enough time for a timeout to disconnect it. The app does try to disconnected properly when it is shutting down, but that has been very flaky in the past where the app is killed too quickly for cleanup to complete.
Not sure if the cause was a reboot of course, but would sound logical to me.
Is there anything to do about this error?
Donât let Homey reboot 
I will investigate it but my Homey does reboot quite frequently due to alpha firmware updates and I havenât noticed that issue.
So, if you can figure out if thereâs a cause then let me know.
ATM, if that error occurs it doesnât try to reconnect, so I will also look into retrying the connection after 15 minutes. If it is a duplicate connection thatâs causing the problem then it should have timed out by then.
1 Like