Skip to content

Commit

Permalink
[chromecast] 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 f140d3a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class ChromecastActions implements ThingActions {

private @Nullable ChromecastHandler handler;

@RuleAction(label = "@text/playURLActionLabel", description = "@text/playURLActionDescription")
@RuleAction(label = "@text/playURLActionLabel", description = "@text/playURLActionDescription", id = "playURL1")

Check failure on line 43 in bundles/org.openhab.binding.chromecast/src/main/java/org/openhab/binding/chromecast/internal/action/ChromecastActions.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 @ActionOutput(name = "result", label = "Success", type = "java.lang.Boolean") Boolean playURL(
@ActionInput(name = "url") @Nullable String url) {
if (url == null) {
Expand All @@ -57,7 +57,7 @@ public class ChromecastActions implements ThingActions {
}
}

@RuleAction(label = "@text/playURLTypeActionLabel", description = "@text/playURLTypeActionDescription")
@RuleAction(label = "@text/playURLTypeActionLabel", description = "@text/playURLTypeActionDescription", id = "playURL2")

Check failure on line 60 in bundles/org.openhab.binding.chromecast/src/main/java/org/openhab/binding/chromecast/internal/action/ChromecastActions.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 @ActionOutput(name = "result", label = "Success", type = "java.lang.Boolean") Boolean playURL(
@ActionInput(name = "url") @Nullable String url,
@ActionInput(name = "mediaType") @Nullable String mediaType) {
Expand Down

0 comments on commit f140d3a

Please sign in to comment.