core: Yeelight lights not found anymore

The problem

Upgraded from 0.109.6 to 0.110.0. Yeelights are not discovered anymore. In Frontend, yeelights are not found (yellow line). They worked also on 0.109.6 (and previous)

Environment

  • Home Assistant Core release with the issue: 0.110.0
  • Last working Home Assistant Core release (if known): 0.109.6
  • Operating environment (Home Assistant/Supervised/Docker/venv): venv
  • Integration causing this issue: Yeelight
  • Link to integration documentation on our website:

Problem-relevant configuration.yaml

configuration.yml


default_config:

history:
  include:
    entities:
      - alarm_control_panel.antifurto
      - switch.shelly01

logbook:
  include:
    entities:
      - alarm_control_panel.antifurto
      - switch.shelly01

# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
http:
  use_x_forwarded_for: true
  trusted_proxies: 127.0.0.1

lovelace:
  mode: yaml
  resources:
    - url: /local/vertical-stack-in-card.js?v=0.1.3
      type: js

#Influx
influxdb: !include influxdb.yaml

#Python Scripts
python_script:

#telegram
telegram_bot:
  - platform: polling
    api_key: !secret telegram_bot_api_key_1
    allowed_chat_ids:
       - !secret telegram_bot_allowed_chat_ids_1
       - !secret telegram_bot_allowed_chat_ids_2

notify:
  - name: Alessandro
    platform: telegram
    chat_id: !secret telegram_bot_allowed_chat_ids_1

  - name: Security
    platform: telegram
    chat_id: !secret telegram_bot_allowed_chat_ids_2

# mysensors
mysensors:
  gateways:
    - device: 0.0.0.0
      persistence_file: '/home/sineverba/.homeassistant/mysensor_persistence.json'
  persistence: true
  version: '2.2'

# mqtt
mqtt:
  broker: 127.0.0.1
  port: 1883
  client_id: homeassistant
  username: !secret mqtt_username
  password: !secret mqtt_password

# Text to speech
tts:
  - platform: google_translate

# Cloudflare
cloudflare:
  email: !secret cloudflare_email
  api_key: !secret cloudflare_api_key
  zone: !secret cloudflare_zone
  records:
    - !secret cloudflare_zone


alarm_control_panel: !include alarms.yaml
switch: !include switches.yaml
light: !include lights.yaml
sensor: !include sensors.yaml
input_boolean: !include booleans.yaml
input_number: !include numbers.yaml
weather: !include weathers.yaml
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml

homeassistant:
  customize: !include customize.yaml


speedtestdotnet:
  manual: true
  server_id: 7898


#Logger
logger:
  default: critical
  logs:
    homeassistant.components.http.ban: warning
    homeassistant.components.mysensors: info
    mysensors: info


light.yeelight_ct2_7cxxxx:
  friendly_name: Ingresso
light.yeelight_color1_7xxxxx6:
  friendly_name: Salone
  icon: mdi:floor-lamp
light.yeelight_strip1_78xxxxx:
  friendly_name: Letto
  icon: mdi:bed-empty


Traceback/Error logs

Logger: homeassistant.helpers.service
Source: helpers/service.py:423
First occurred: 19:38:27 (2 occurrences)
Last logged: 19:38:51

Unable to find referenced entities light.yeelight_color1_7811dcexxxx, light.yeelight_ct2_7cxxxxxx6

Additional information

Workaround

In configuration.yml


#Discovery
discovery:
  ignore:
    - yeelight

yeelight:
  devices:
    192.168.1.120:
      name: Salone
    192.168.1.121:
      name: Letto
    192.168.1.122:
      name: Ingresso
#    - igd

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 21 (11 by maintainers)

Most upvoted comments

The mdns functionality got removed on newer firemwares of homekit-supporting(?) devices at some point by yeelight due for maintenance reasons, so that would explain why you are not seeing mdns responses. There is an issue on github somewhere discussing the details what needs to be done to fix the issue for good.