Mqtt lights transition

Hi guys

I use zigbee2mqtt with Xiaomi Bulb. MQTT Discovery is enable in HA.
I would like to kown how can I setup transition for toggle/turn_on/turn_off thoses lights?
I already successfully set up in scene :

- name: cuisine_plafond_nuit
  entities:
    light.cuisine_plafond:
      state: true
      color_temp: 338
      brightness: 1
      transition: 1 

I also use yeelight, and I set up like that :

devices:
  192.168.1.3:
    name: salon_lampe_pied
    model: color2
    use_music_mode: false
    save_on_change: false
    transition: 1000

But I do not know how to do for Mqtt Discovery lights…