Interface ScriptThingActions
@NonNullByDefault
public interface ScriptThingActions
The methods of this class are made available as functions in the scripts.
Note: This class is a copy from the
org.openhab.core.model.script.internal.engine.action.ThingActionService
class- Author:
- Kai Kreuzer - Initial contribution, Jan N. Klug - Refactored to interface
-
Method Summary
Modifier and TypeMethodDescription@Nullable ThingActions
Gets an actions instance of a certain scope for a given thing UID
-
Method Details
-
get
Gets an actions instance of a certain scope for a given thing UID- Parameters:
scope
- the action scopethingUid
- the UID of the thing- Returns:
- actions the actions instance or null, if not available
-