Okay, es war die Klammer.
Aber!
Irgendwo habe ich noch einen Fehler eingebaut. Denn beim Anschalten springt es gleich wieder auf aus.
2021-12-16 18:21:55.510 [ome.event.ItemCommandEvent] - Item 'Dreifachleiste_1' received command ON
2021-12-16 18:21:55.523 [nt.ItemStatePredictedEvent] - Dreifachleiste_1 predicted to become NULL
Code
Thing topic triple1 "Dreifachleiste" @ "ZigBee Test" {
Channels:
Type switch : Dreifachleiste_1 "Dose 1" [ stateTopic = "tele/bridge/triple1/SENSOR" , transformationPattern="REGEX:(.*Endpoint..1.*)∩JSONPATH:$.ZbReceived.triple1.Power", commandTopic="cmnd/bridge/ZbSend", formatBeforePublish="{\"device\":\"triple1\",\"endpoint\":\"1\",\"send\":{\"Power\":\"%s\"}}", on = "1", off = "0"]
Type switch : Dreifachleiste_2 "Dose 2" [ stateTopic = "tele/bridge/triple1/SENSOR" , transformationPattern="REGEX:(.*Endpoint..2.*)∩JSONPATH:$.ZbReceived.triple1.Power", commandTopic="cmnd/bridge/ZbSend", formatBeforePublish="{\"device\":\"triple1\",\"endpoint\":\"2\",\"send\":{\"Power\":\"%s\"}}", on = "1", off = "0"]
Type switch : Dreifachleiste_3 "Dose 3" [ stateTopic = "tele/bridge/triple1/SENSOR" , transformationPattern="REGEX:(.*Endpoint..3.*)∩JSONPATH:$.ZbReceived.triple1.Power", commandTopic="cmnd/bridge/ZbSend", formatBeforePublish="{\"device\":\"triple1\",\"endpoint\":\"3\",\"send\":{\"Power\":\"%s\"}}", on = "1", off = "0"]