First, please use code fences, thanks
Bridge mqtt:broker:myUnsecureBroker [ host="192.168.0.42", secure=false ]
{
Thing topic mything {
Channels:
Type string : alarmpanel "Alarm system" [ stateTopic="alarm/panel/state", commandTopic="alarm/panel/set" ]
}
}
Yes:
Type string : alarmpanel "Alarm system" [ stateTopic="alarm/panel/state", commandTopic="alarm/panel/set", postCommand="true" ]
PS: This is not yet documented in: https://www.openhab.org/addons/bindings/mqtt.generic/ but I have just submitted a PR to add it.