Skip to content

Commit

Permalink
[lgwebos] Assign unique id to thing actions
Browse files Browse the repository at this point in the history
Related to #17707

Depends on openhab/openhab-core#4438

Signed-off-by: Laurent Garnier <[email protected]>
  • Loading branch information
lolodomo committed Nov 6, 2024
1 parent f37f39c commit d142622
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public void showToast(
getConnectedSocket().ifPresent(control -> control.showToast(text, createResponseListener()));
}

@RuleAction(label = "@text/actionShowToastWithIconLabel", description = "@text/actionShowToastWithIconDesc")
@RuleAction(label = "@text/actionShowToastWithIconLabel", description = "@text/actionShowToastWithIconDesc", id = "showToastWithIcon")

Check failure on line 99 in bundles/org.openhab.binding.lgwebos/src/main/java/org/openhab/binding/lgwebos/internal/action/LGWebOSActions.java

View workflow job for this annotation

GitHub Actions / Build (Java 17, ubuntu-24.04)

The attribute id is undefined for the annotation type org.openhab.core.automation.annotation.RuleAction
public void showToast(
@ActionInput(name = "icon", label = "@text/actionShowToastInputIconLabel", description = "@text/actionShowToastInputIconDesc") String icon,
@ActionInput(name = "text", label = "@text/actionShowToastInputTextLabel", description = "@text/actionShowToastInputTextDesc") String text)
Expand Down Expand Up @@ -144,7 +144,7 @@ public void launchApplication(
}
}

@RuleAction(label = "@text/actionLaunchApplicationWithParamsLabel", description = "@text/actionLaunchApplicationWithParamsDesc")
@RuleAction(label = "@text/actionLaunchApplicationWithParamsLabel", description = "@text/actionLaunchApplicationWithParamsDesc", id = "launchApplicationWithParameters")

Check failure on line 147 in bundles/org.openhab.binding.lgwebos/src/main/java/org/openhab/binding/lgwebos/internal/action/LGWebOSActions.java

View workflow job for this annotation

GitHub Actions / Build (Java 17, ubuntu-24.04)

The attribute id is undefined for the annotation type org.openhab.core.automation.annotation.RuleAction
public void launchApplication(
@ActionInput(name = "appId", label = "@text/actionLaunchApplicationInputAppIDLabel", description = "@text/actionLaunchApplicationInputAppIDDesc") String appId,
@ActionInput(name = "params", label = "@text/actionLaunchApplicationInputParamsLabel", description = "@text/actionLaunchApplicationInputParamsDesc") String params) {
Expand Down

0 comments on commit d142622

Please sign in to comment.