Yeelight ceiling light integration broken

Tags: #<Tag:0x00007fc413216310>

I just installed a Yeelight ceiling light pro (YLXD76YL 320). I can add it with the integration to Home Assistant, but as soon as I try to turn it on/off a few times or change the brightness it goes offline, never to get back online again automatically.

The logging states:

Unable to turn the bulb on: A socket error occurred when sending the command.
9:36:49 PM – Yeelight (ERROR)
[140291943054736] ‘NoneType’ object has no attribute ‘close’
9:36:44 PM – Home Assistant WebSocket API (ERROR)
Unable to update device 192.168.178.49, yeelight_ceila_0x00000000159158df: Bulb closed the connection.
9:36:43 PM – Yeelight (ERROR) - message first occurred at 9:36:43 PM and shows up 2 times
Unable to turn the bulb off: 192.168.178.49, yeelight_ceila_0x00000000159158df: Bulb closed the connection.
9:36:43 PM – Yeelight (ERROR)
Unable to turn on music mode, consider disabling it: {‘code’: -1, ‘message’: ‘method not supported’}
9:36:15 PM – Yeelight (ERROR) - message first occurred at 9:35:51 PM and shows up 7 times

After that the light is unavailable, and the only thing I can do to bring it back is to remove power from the lamp and reboot it.

When I installed it first it worked fine for about 15 minutes but the problems started after Home Assistant said YLCeilingLight-7F74 via HomeKit Accessory Protocol was found.

The yeelight app is working just fine, so the bulb itself it not unavailable.

Update:
I removed the Yeelight from the Integration page, and manually added it in the config:

yeelight:
  devices:
    192.168.178.49:
      name: Slaapkamer

I keeps working for now (fingers crossed)

1 Like