MQTT Brightness, still send "ON". How to disable this

Hi. I have a problem when i change brightness, the system still send “ON” command. Do i can disable this “feature”? For me with espeasy it’s big problem. I can choose gpio or pwm in one time, never both.
When I turn on light with gpio i can’t change brightness.
Another question. How add only slider light? Without switch (on,off)?
My config:

light:
  - platform: mqtt
    name: Biurko
    state_topic: "/esp001/cmd"
    command_topic: "/esp001/cmd"
    #brightness_state_topic: '/esp001/pwm/5'
    brightness_command_topic: '/esp001/pwm/5'
    brightness_scale: 1023
    #retain: true
    #optimistic: false
    payload_on: "pwm,5,1023,1000"
    payload_off: "pwm,5,0,1000"
    entity_id: biurko

See here - a solution is on its way (to at least your first query)

Thanks for very fast answer. All work’s. Without state but works!!!