How to use the latest Yeelight devices in Home Assistant?

How to use the latest Yeelight devices in Home Assistant?

you have to set up your wifi device using the Yeelight app.(not mi home app)
Firmware can be updated in the Yeelight app. after connecting the wifi device
enable “LAN Control” in the Yeelight app

The device is working via the Yeelight App

Relevant part of configuration.yaml

yeelight:
  devices:
    192.168.1.159:
    name: Office Ceiling


yeelight:
   devices:
    10.142.50.18:
      name: Office Ceiling
      model: RGBW

yeelight:
  devices:
    192.168.110.111:
      name: Bedroom 3 Right Lamp
      model: color2
    192.168.110.125:
      name: Bedroom 3 Left Lamp
      model: color2