Doubts about calling actions from OH 3.0 rules

In JavaScript you need to import the loggers. See Logging — openHAB Helper Libraries documentation and Actions — openHAB Helper Libraries documentation for how to do that with the Helper Libraries and Experimental Next-Gen Rules Engine Documentation 5 of : Actions to see how to get at them logging actions without the Helper Library.

See the MQTT example at Actions — openHAB Helper Libraries documentation for and excample. It would look like

actions.get("mqtt", "mqtt:systemBroker:embedded-mqtt-broker").publishMQTT("test/system/started", "true")

where the first argument to get is the binding, the second argument is the Thing ID, and then you call the method of the argument with the proper arguments.

To my knowledge this has not changes in OH 3, but I don’t know if the Helper Libraries are ported to OH 3 or not.