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 Type
    Method
    Description
    @Nullable ThingActions
    get(@Nullable String scope, @Nullable String thingUid)
    Gets an actions instance of a certain scope for a given thing UID
  • Method Details

    • get

      @Nullable ThingActions get(@Nullable String scope, @Nullable String thingUid)
      Gets an actions instance of a certain scope for a given thing UID
      Parameters:
      scope - the action scope
      thingUid - the UID of the thing
      Returns:
      actions the actions instance or null, if not available