Optimise the code for an optmization of an MQTT payload

Hi,

I’m using an MQTT payload to get triggered if there is motion at my camera.
The camera has multiple payloads for diffrent areas, diffrent triggers and so on.
At the moment my payload is seperated to many rows. is there a possibility to put all this payloads into one row, to make it look more clean in the UI?
Sorry getting unformated code warning, no clue how to fix that.

<sub>alias: Keller Alaram wurde ausgelöst
description: ""
trigger:
  - platform: mqtt
    topic: instar/instar-keller/status/alarm/triggered
    payload: "{\"val\":\"1\"}"
  - platform: mqtt
    topic: instar/instar-keller/status/alarm/triggered
    payload: "{\"val\":\"2\"}"
  - platform: mqtt
    topic: instar/instar-keller/status/alarm/triggered
    payload: "{\"val\":\"3\"}"
  - platform: mqtt
    topic: instar/instar-keller/status/alarm/triggered
    payload: "{\"val\":\"4\"}"
  - platform: mqtt
    topic: instar/instar-keller/status/alarm/triggered
    payload: "{\"val\":\"5\"}"
  - platform: mqtt
    topic: instar/instar-keller/status/alarm/triggered
    payload: "{\"val\":\"6\"}"
  - platform: mqtt
    topic: instar/instar-keller/status/alarm/triggered
    payload: "{\"val\":\"7\"}"
  - platform: mqtt
    topic: instar/instar-keller/status/alarm/triggered
    payload: "{\"val\":\"8\"}"
  - platform: mqtt
    topic: instar/instar-keller/status/alarm/triggered
    payload: "{\"val\":\"9\"}"
  - platform: mqtt
    topic: instar/instar-keller/status/alarm/triggered
    payload: "{\"val\":\"10\"}"
  - platform: mqtt
    topic: instar/instar-keller/status/alarm/triggered
    payload: "{\"val\":\"99\"}"t</sub>

Section 11 of the FAQ:

changed the code thanks.