diff --git a/bundles/binding/org.openhab.binding.koubachi/src/main/java/org/openhab/binding/koubachi/internal/KoubachiBinding.java b/bundles/binding/org.openhab.binding.koubachi/src/main/java/org/openhab/binding/koubachi/internal/KoubachiBinding.java index 139dd5b46c0..d9be69ac054 100644 --- a/bundles/binding/org.openhab.binding.koubachi/src/main/java/org/openhab/binding/koubachi/internal/KoubachiBinding.java +++ b/bundles/binding/org.openhab.binding.koubachi/src/main/java/org/openhab/binding/koubachi/internal/KoubachiBinding.java @@ -60,7 +60,7 @@ public class KoubachiBinding extends AbstractActiveBinding *
  • action type
  • * - * + * * @see https://labs.koubachi.com/documentations/9 */ private static final String TASKS_BODY = "{\"care_action\":{\"action_type\":\"%1$s\"}}"; @@ -196,11 +196,11 @@ protected void internalReceiveCommand(final String itemName, final Command comma /** * Gets the list of all configured Devices from the Koubachi server. - * + * * @param appKey * @param credentials * @param apiDeviceListUrl - * + * * @return the list of all configured Devices. Is never {@code null}. */ private List getDevices(String apiDeviceListUrl, String credentials, String appKey) { @@ -229,7 +229,7 @@ private List getDevices(String apiDeviceListUrl, String credentials, Str /** * Gets the list of all configured Plants from the Koubachi server. - * + * * @return the list of all configured Plants. Is never {@code null}. */ private List getPlants(String apiPlantListUrl, String credentials, String appKey) { @@ -262,7 +262,7 @@ private List getPlants(String apiPlantListUrl, String credentials, String * Refer to the Koubachi API * documentation for supported actions. - * + * * @param plantId * the id of the plant the action was performed on * @param actionType @@ -287,10 +287,10 @@ private void performCareAction(final String plantId, final String actionType) { /** * Maps the given {@code jsonString} to {@code type}. - * + * * @param type to type to map the given {@code jsonString} * @param jsonString the content which should be mapped to {@code type} - * + * * @return a new instance of {@code type} with content of {@code jsonString} */ private T fromJSON(final TypeReference type, final String jsonString) { @@ -321,9 +321,9 @@ private R findResource(String id, List resources *

    * If {@code propertyValue} is {@code null}, {@link UnDefType#NULL} will be * returned. - * + * * @param propertyValue - * + * * @return the new {@link State} in accordance to {@code dataType}. Will * never be {@code null}. */ @@ -351,6 +351,14 @@ private State createState(Object propertyValue) { } } + protected void addBindingProvider(KoubachiBindingProvider bindingProvider) { + super.addBindingProvider(bindingProvider); + } + + protected void removeBindingProvider(KoubachiBindingProvider bindingProvider) { + super.removeBindingProvider(bindingProvider); + } + @Override public void updated(Dictionary config) throws ConfigurationException { if (config != null) {