forked from openhab/openhab-addons
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[VolvoOnCall] Reliable implementation of thing actions (openhab#8117)
* Enhancing action method call for Issue openhab#8116 Signed-off-by: clinique <[email protected]>
- Loading branch information
1 parent
493990d
commit f4a357d
Showing
2 changed files
with
80 additions
and
41 deletions.
There are no files selected for viewing
41 changes: 41 additions & 0 deletions
41
...ll/src/main/java/org/openhab/binding/volvooncall/internal/action/IVolvoOnCallActions.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/** | ||
* Copyright (c) 2010-2020 Contributors to the openHAB project | ||
* | ||
* See the NOTICE file(s) distributed with this work for additional | ||
* information. | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Eclipse Public License 2.0 which is available at | ||
* http://www.eclipse.org/legal/epl-2.0 | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
*/ | ||
package org.openhab.binding.volvooncall.internal.action; | ||
|
||
import org.eclipse.jdt.annotation.NonNullByDefault; | ||
import org.eclipse.jdt.annotation.Nullable; | ||
|
||
/** | ||
* The {@link IVolvoOnCallActions} defines the interface for all thing actions supported by the binding. | ||
* | ||
* @author Gaël L'hopital - Initial contribution | ||
*/ | ||
@NonNullByDefault | ||
public interface IVolvoOnCallActions { | ||
public void honkBlinkCommand(Boolean honk, Boolean blink); | ||
|
||
public void preclimatizationStopCommand(); | ||
|
||
public void heaterStopCommand(); | ||
|
||
public void heaterStartCommand(); | ||
|
||
public void preclimatizationStartCommand(); | ||
|
||
public void engineStartCommand(@Nullable Integer runtime); | ||
|
||
public void openCarCommand(); | ||
|
||
public void closeCarCommand(); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters