Rework ThingActions (#8732)
* Remove proxy workarounds * Move ThingActions and a few other classes into the internal package * Use more consistent action labels/descriptions Related to: * openhab/openhab-core#1714 * openhab/openhab-core#1639 Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
@@ -41,7 +41,7 @@ public class VolvoOnCallActions implements ThingActions {
|
||||
private @Nullable VehicleHandler handler;
|
||||
|
||||
public VolvoOnCallActions() {
|
||||
logger.info("Volvo On Call actions service instanciated");
|
||||
logger.debug("Volvo On Call actions service instantiated");
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -53,7 +53,7 @@ public class VolvoOnCallActions implements ThingActions {
|
||||
|
||||
@Override
|
||||
public @Nullable ThingHandler getThingHandler() {
|
||||
return this.handler;
|
||||
return handler;
|
||||
}
|
||||
|
||||
@RuleAction(label = "close the car", description = "Closes the car")
|
||||
|
||||
Reference in New Issue
Block a user