core: Yeelight Integration - can not purge it

The problem

Hello,

First, i try Yeelight integration, but after i delete it (via UI) and install it via the homekit method. My problem is i get the error in the log that the Yeelight integration is can not connect it to the lamp…

I check all config files, check the .storage folder and the database, but not found any footprint this integration. How to purge it? It rubbish my log file…

i found a exact same problem in forum:

https://community.home-assistant.io/t/yeelight-integration-configuration-still-active-even-after-removing-the-integration-itself/346799

What version of Home Assistant Core has the issue?

2021.12.9

What was the last working version of Home Assistant Core?

none

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Yeelight

Link to integration documentation on our website

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

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2022-01-17 10:53:39 ERROR (MainThread) [homeassistant.components.yeelight.config_flow] Failed to get properties from 192.168.1.230: Failed to read from the socket at 192.168.1.230:55443: [Errno 111] Connect call failed ('192.168.1.230', 55443).
2022-01-17 10:56:13 ERROR (MainThread) [homeassistant.components.yeelight.config_flow] Failed to get properties from 192.168.1.230: Failed to read from the socket at 192.168.1.230:55443: [Errno 111] Connect call failed ('192.168.1.230', 55443).
2022-01-17 10:58:55 ERROR (MainThread) [homeassistant.components.yeelight.config_flow] Failed to get properties from 192.168.1.230: Failed to read from the socket at 192.168.1.230:55443: [Errno 111] Connect call failed ('192.168.1.230', 55443).
2022-01-17 11:01:45 ERROR (MainThread) [homeassistant.components.yeelight.config_flow] Failed to get properties from 192.168.1.230: Failed to read from the socket at 192.168.1.230:55443: [Errno 111] Connect call failed ('192.168.1.230', 55443).
2022-01-17 11:04:35 ERROR (MainThread) [homeassistant.components.yeelight.config_flow] Failed to get properties from 192.168.1.230: Failed to read from the socket at 192.168.1.230:55443: [Errno 111] Connect call failed ('192.168.1.230', 55443).
2022-01-17 11:07:25 ERROR (MainThread) [homeassistant.components.yeelight.config_flow] Failed to get properties from 192.168.1.230: Failed to read from the socket at 192.168.1.230:55443: [Errno 111] Connect call failed ('192.168.1.230', 55443).
2022-01-17 11:10:39 ERROR (MainThread) [homeassistant.components.yeelight.config_flow] Failed to get properties from 192.168.1.230: Failed to read from the socket at 192.168.1.230:55443: [Errno 111] Connect call failed ('192.168.1.230', 55443).
2022-01-17 11:13:05 ERROR (MainThread) [homeassistant.components.yeelight.config_flow] Failed to get properties from 192.168.1.230: Failed to read from the socket at 192.168.1.230:55443: [Errno 111] Connect call failed ('192.168.1.230', 55443).
2022-01-17 11:15:55 ERROR (MainThread) [homeassistant.components.yeelight.config_flow] Failed to get properties from 192.168.1.230: Failed to read from the socket at 192.168.1.230:55443: [Errno 111] Connect call failed ('192.168.1.230', 55443).
2022-01-17 11:18:45 ERROR (MainThread) [homeassistant.components.yeelight.config_flow] Failed to get properties from 192.168.1.230: Failed to read from the socket at 192.168.1.230:55443: [Errno 111] Connect call failed ('192.168.1.230', 55443).
2022-01-17 11:21:59 ERROR (MainThread) [homeassistant.components.yeelight.config_flow] Failed to get properties from 192.168.1.230: Failed to read from the socket at 192.168.1.230:55443: [Errno 111] Connect call failed ('192.168.1.230', 55443).

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 24 (1 by maintainers)

Most upvoted comments

It turns out I didn’t switch on LAN control in Yeelight App, after I turn on the control, the error is gone.

Bump, same issue here.

For everyone here getting this where you are not using the yeelight integration and getting this log, is the following true?

  1. Have a yeelight connected to the network
  2. Do not have the yeelight integration enabled
  3. Do not have the lan api enabled

1.correct; I have a screenlamp made by yeelight. 2.correct; I don’t use the integration, but I used it before, but it failed. 3.correct; I didn’t bind the device to the yeelight app.

I am facing the same error.

Logger: homeassistant.components.yeelight.config_flow
Source: components/yeelight/config_flow.py:265 
Integration: Yeelight (documentation, issues) 
First occurred: 1:59:23 PM (1 occurrences) 
Last logged: 1:59:23 PM

Failed to get properties from 192.168.1.204: Failed to read from the socket at 192.168.1.204:55443: [Errno 111] Connect call failed ('192.168.1.204', 55443).

My setup is:

System Health

version core-2022.2.2
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.9.7
os_name Linux
os_version 5.10.63-v8
arch aarch64
timezone Europe/Athens
Home Assistant Community Store
GitHub API ok
Github API Calls Remaining 4954
Installed Version 1.21.0
Stage running
Available Repositories 970
Downloaded Repositories 3
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 7.2
update_channel stable
supervisor_version supervisor-2022.01.1
docker_version 20.10.9
disk_total 28.0 GB
disk_used 3.7 GB
healthy true
supported true
board rpi4-64
supervisor_api ok
version_api ok
installed_addons Check Home Assistant configuration (3.9.0), Studio Code Server (4.1.0), Terminal & SSH (9.3.0), Home Assistant Google Drive Backup (0.105.2)
Lovelace
dashboards 1
resources 0
views 2
mode storage