IKEA LED Driver and ZigBee2MQTT

Thank you so much. You did help me. I like the text based configs way more the the UI stuff. With your help i found these informations:

  1. Instead of using brightness, you can use brightness_percent. With this it works flawless. But thats nowhere mentioned.
Thing mqtt:topic:IKEA_Driver "Z2M: IKEA Driver" (mqtt:broker:823098e4c9) {
    Channels:
    Type dimmer : light "Light" [stateTopic="zigbee2mqtt/IKEA_Driver/get", commandTopic="zigbee2mqtt/IKEA_Driver/set", formatBeforePublish="{\"brightness_percent\": \"%s\"]
}
  1. define a range at the end of the dimmer config. min=0, max=254 did the trick.
Thing mqtt:topic:IKEA_Driver "Z2M: IKEA Driver" (mqtt:broker:823098e4c9) {
    Channels:
    Type dimmer : light "Light" [stateTopic="zigbee2mqtt/IKEA_Driver/get", commandTopic="zigbee2mqtt/IKEA_Driver/set", formatBeforePublish="{\"brightness\": \"%s\"}", min=0, max=254]
}

Both solutions work as i wanted it in the first place.