Yeelight disappeared

I am using a Xiaomi bedside lamp / wifi for a while now. While it has the “bug”, that it seems to lose wifi when disconnected from power, it always resolves when resetting the device and connecting it anew to the network/wifi.

However, since my update to 0.91 (i think) the lamp wont work anymore. This is the config:

light:
  - platform: yeelight
    devices:
      10.0.0.10:
        name: Nachttischlampe
        save_on_change: true

I gave it a static IP on my router, thus it will always have 10.0.0.10 as IP. I’ve resetted it a couple of times now an re-connected it to my wifi network, still home assistant will not show the lamp.

I can ping the IP and also control the lamp via yeelight app, but HA wont show it. I’ve also always enabled developer/LAN mode in the yeelight app.

Interestingly, there is literally nothing in the HA log regarding the yeelight. I’ve also increased the loglevel:

logger:
  default: warn
  logs:
    homeassistant.components.homekit: info
    yeelight: debug

yet this is all I see:

Apr 26 18:52:51 freepi systemd[1]: Started Home Assistant.
Apr 26 18:52:56 freepi hass[25844]: 2019-04-26 18:52:56 INFO (Thread-7) [homeassistant.loader] Loaded mqtt from homeassistant.components.mqtt
Apr 26 18:52:56 freepi hass[25844]: 2019-04-26 18:52:56 INFO (Thread-7) [homeassistant.loader] Loaded binary_sensor from homeassistant.components.binary_sensor
Apr 26 18:52:56 freepi hass[25844]: 2019-04-26 18:52:56 INFO (Thread-7) [homeassistant.loader] Loaded group from homeassistant.components.group
Apr 26 18:52:56 freepi hass[25844]: 2019-04-26 18:52:56 INFO (Thread-7) [homeassistant.loader] Loaded zwave from homeassistant.components.zwave
Apr 26 18:52:56 freepi hass[25844]: 2019-04-26 18:52:56 INFO (Thread-9) [homeassistant.loader] Loaded wake_on_lan from homeassistant.components.wake_on_lan
Apr 26 18:52:56 freepi hass[25844]: 2019-04-26 18:52:56 INFO (Thread-9) [homeassistant.loader] Loaded calendar from homeassistant.components.calendar
Apr 26 18:52:56 freepi hass[25844]: 2019-04-26 18:52:56 INFO (Thread-9) [homeassistant.loader] Loaded media_player from homeassistant.components.media_player
Apr 26 18:52:56 freepi hass[25844]: 2019-04-26 18:52:56 INFO (Thread-9) [homeassistant.loader] Loaded vacuum from homeassistant.components.vacuum
Apr 26 18:52:56 freepi hass[25844]: 2019-04-26 18:52:56 INFO (Thread-4) [homeassistant.loader] Loaded automation from homeassistant.components.automation
Apr 26 18:52:56 freepi hass[25844]: 2019-04-26 18:52:56 INFO (Thread-4) [homeassistant.loader] Loaded light from homeassistant.components.light
Apr 26 18:52:56 freepi hass[25844]: 2019-04-26 18:52:56 INFO (Thread-4) [homeassistant.loader] Loaded switch from homeassistant.components.switch
Apr 26 18:52:56 freepi hass[25844]: 2019-04-26 18:52:56 INFO (Thread-13) [homeassistant.loader] Loaded logger from homeassistant.components.logger
Apr 26 18:52:56 freepi hass[25844]: 2019-04-26 18:52:56 INFO (Thread-3) [homeassistant.loader] Loaded frontend from homeassistant.components.frontend
Apr 26 18:52:56 freepi hass[25844]: 2019-04-26 18:52:56 INFO (Thread-14) [homeassistant.loader] Loaded deconz from homeassistant.components.deconz
Apr 26 18:52:56 freepi hass[25844]: 2019-04-26 18:52:56 INFO (Thread-7) [homeassistant.loader] Loaded http from homeassistant.components.http
Apr 26 18:52:56 freepi hass[25844]: 2019-04-26 18:52:56 INFO (Thread-7) [homeassistant.loader] Loaded weather from homeassistant.components.weather
Apr 26 18:52:56 freepi hass[25844]: 2019-04-26 18:52:56 INFO (Thread-15) [homeassistant.loader] Loaded auth from homeassistant.components.auth
Apr 26 18:52:56 freepi hass[25844]: 2019-04-26 18:52:56 INFO (Thread-3) [homeassistant.loader] Loaded script from homeassistant.components.script
Apr 26 18:52:56 freepi hass[25844]: 2019-04-26 18:52:56 INFO (Thread-3) [homeassistant.loader] Loaded sun from homeassistant.components.sun
Apr 26 18:52:56 freepi hass[25844]: 2019-04-26 18:52:56 INFO (Thread-5) [homeassistant.loader] Loaded homekit from homeassistant.components.homekit
Apr 26 18:52:56 freepi hass[25844]: 2019-04-26 18:52:56 INFO (Thread-17) [homeassistant.loader] Loaded sensor from homeassistant.components.sensor
Apr 26 18:52:56 freepi hass[25844]: 2019-04-26 18:52:56 INFO (Thread-10) [homeassistant.loader] Loaded google from homeassistant.components.google
Apr 26 18:52:56 freepi hass[25844]: 2019-04-26 18:52:56 INFO (Thread-18) [homeassistant.loader] Loaded config from homeassistant.components.config
Apr 26 18:52:56 freepi hass[25844]: 2019-04-26 18:52:56 INFO (Thread-6) [homeassistant.loader] Loaded climate from homeassistant.components.climate
Apr 26 18:52:56 freepi hass[25844]: 2019-04-26 18:52:56 INFO (Thread-9) [homeassistant.loader] Loaded homeassistant from homeassistant.components.homeassistant
Apr 26 18:52:56 freepi hass[25844]: 2019-04-26 18:52:56 INFO (Thread-19) [homeassistant.loader] Loaded persistent_notification from homeassistant.components.persistent_notification
Apr 26 18:52:56 freepi hass[25844]: 2019-04-26 18:52:56 INFO (Thread-20) [homeassistant.loader] Loaded webhook from homeassistant.components.webhook
Apr 26 18:52:56 freepi hass[25844]: 2019-04-26 18:52:56 INFO (Thread-21) [homeassistant.loader] Loaded api from homeassistant.components.api
Apr 26 18:52:56 freepi hass[25844]: 2019-04-26 18:52:56 INFO (MainThread) [homeassistant.setup] Setting up homeassistant
Apr 26 18:52:56 freepi hass[25844]: 2019-04-26 18:52:56 INFO (MainThread) [homeassistant.setup] Setup of domain homeassistant took 0.0 seconds.
Apr 26 18:52:57 freepi hass[25844]: 2019-04-26 18:52:57 INFO (MainThread) [homeassistant.setup] Setting up persistent_notification
Apr 26 18:52:57 freepi hass[25844]: 2019-04-26 18:52:57 INFO (MainThread) [homeassistant.setup] Setup of domain persistent_notification took 0.0 seconds.
Apr 26 18:52:57 freepi hass[25844]: 2019-04-26 18:52:57 INFO (Thread-11) [homeassistant.loader] Loaded lovelace from homeassistant.components.lovelace
Apr 26 18:52:57 freepi hass[25844]: 2019-04-26 18:52:57 INFO (Thread-12) [homeassistant.loader] Loaded onboarding from homeassistant.components.onboarding
Apr 26 18:52:57 freepi hass[25844]: 2019-04-26 18:52:57 INFO (Thread-4) [homeassistant.loader] Loaded system_log from homeassistant.components.system_log
Apr 26 18:52:57 freepi hass[25844]: 2019-04-26 18:52:57 INFO (Thread-13) [homeassistant.loader] Loaded websocket_api from homeassistant.components.websocket_api
Apr 26 18:52:57 freepi hass[25844]: 2019-04-26 18:52:57 INFO (MainThread) [homeassistant.setup] Setting up logger
Apr 26 18:52:57 freepi hass[25844]: 2019-04-26 18:52:57 WARNING (MainThread) [homeassistant.components.http.auth] legacy_api_password support has been enabled.

What should I do? I’ve already updated to the latest 0.92 but nothing changed.

Yeelight is now it’s own component separate from lighting so you’ll need to change it.

Thanks, worked.