And now the low-code no-code version...
Demo flow...
[{"id":"4b0b1c007ea0da93","type":"inject","z":"6f3a24bd7ed7326b","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"Automatik","payload":"true","payloadType":"bool","x":880,"y":1140,"wires":[["57b091e23b3baf31"]]},{"id":"5cec8a2575223a4c","type":"inject","z":"6f3a24bd7ed7326b","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"Warnung","payload":"true","payloadType":"bool","x":880,"y":1180,"wires":[["57b091e23b3baf31"]]},{"id":"9325262c80cd3b04","type":"inject","z":"6f3a24bd7ed7326b","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"Stoerung","payload":"true","payloadType":"bool","x":880,"y":1220,"wires":[["57b091e23b3baf31"]]},{"id":"52b6d5559be8bb36","type":"inject","z":"6f3a24bd7ed7326b","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"Automatik","payload":"false","payloadType":"bool","x":890,"y":1280,"wires":[["57b091e23b3baf31"]]},{"id":"4bd9df71f509943f","type":"inject","z":"6f3a24bd7ed7326b","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"Warnung","payload":"false","payloadType":"bool","x":880,"y":1320,"wires":[["57b091e23b3baf31"]]},{"id":"78a443d88f3e1783","type":"inject","z":"6f3a24bd7ed7326b","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"Stoerung","payload":"false","payloadType":"bool","x":880,"y":1360,"wires":[["57b091e23b3baf31"]]},{"id":"0f442bb1006c4b18","type":"debug","z":"6f3a24bd7ed7326b","name":"debug 65","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1140,"y":1300,"wires":[]},{"id":"57b091e23b3baf31","type":"join","z":"6f3a24bd7ed7326b","name":"","mode":"custom","build":"object","property":"payload","propertyType":"msg","key":"topic","joiner":"\\n","joinerType":"str","accumulate":true,"timeout":"","count":"3","reduceRight":false,"reduceExp":"","reduceInit":"","reduceInitType":"","reduceFixup":"","x":1070,"y":1220,"wires":[["67c7828af6dd69f2"]]},{"id":"67c7828af6dd69f2","type":"change","z":"6f3a24bd7ed7326b","name":"store","rules":[{"t":"set","p":"items2","pt":"flow","to":"[payload.Automatik, payload.Stoerung, payload.Warnung]","tot":"jsonata"},{"t":"set","p":"obStatus2","pt":"global","to":"payload","tot":"msg","dc":true}],"action":"","property":"","from":"","to":"","reg":false,"x":1110,"y":1260,"wires":[["0f442bb1006c4b18"]]}]