Mqtt.publish works from Developer Tools but not from automations (HA → Mosquitto → Domoticz)

Please format your code correctly