OpenHAB 4.2.0 Release Build
Not sure if something updated or not, I am unsure when this stopped working in my rules.
I am having trouble publishing mqtt messages in my Rules DSL. Here is just a simple rule to verify it was not publishing anything. I have the MQTT Binding and MQTT Actions installed and still does not work.
val mqttActions = getActions("mqtt","mqtt:broker:MosquittoMqttBroker")
mqttActions.publishMQTT("Test/Test","Test1", true)
logInfo("sonoffOH4.rules", "MQTT Test.")
I am getting
2024-07-28 20:38:35.755 [ERROR] [internal.handler.ScriptActionHandler] - Script execution of rule with UID 'SonoffOH4-2' failed: Cannot invoke "org.openhab.binding.mqtt.internal.action.MQTTActions.publishMQTT(String, String, java.lang.Boolean)" because "actions" is null in SonoffOH4
Nothing is being published to my MQTTbroker…
Thanks for any help.