diff --git a/bundles/org.openhab.binding.linky/src/main/java/org/openhab/binding/linky/internal/LinkyHandlerFactory.java b/bundles/org.openhab.binding.linky/src/main/java/org/openhab/binding/linky/internal/LinkyHandlerFactory.java index bb44205ed0b..e85a829151d 100644 --- a/bundles/org.openhab.binding.linky/src/main/java/org/openhab/binding/linky/internal/LinkyHandlerFactory.java +++ b/bundles/org.openhab.binding.linky/src/main/java/org/openhab/binding/linky/internal/LinkyHandlerFactory.java @@ -100,13 +100,11 @@ public class LinkyHandlerFactory extends BaseThingHandlerFactory { this.httpService = httpService; this.thingRegistry = thingRegistry; this.componentContext = componentContext; - } @Override public boolean supportsThingType(ThingTypeUID thingTypeUID) { return LinkyBindingConstants.SUPPORTED_DEVICE_THING_TYPES_UIDS.contains(thingTypeUID); - } @Override @@ -125,7 +123,5 @@ public class LinkyHandlerFactory extends BaseThingHandlerFactory { } return null; - } - } diff --git a/bundles/org.openhab.binding.linky/src/main/java/org/openhab/binding/linky/internal/handler/ApiBridgeHandler.java b/bundles/org.openhab.binding.linky/src/main/java/org/openhab/binding/linky/internal/handler/ApiBridgeHandler.java index fc46973bad7..212ce90187a 100644 --- a/bundles/org.openhab.binding.linky/src/main/java/org/openhab/binding/linky/internal/handler/ApiBridgeHandler.java +++ b/bundles/org.openhab.binding.linky/src/main/java/org/openhab/binding/linky/internal/handler/ApiBridgeHandler.java @@ -155,7 +155,6 @@ public class ApiBridgeHandler extends BaseBridgeHandler { updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.COMMUNICATION_ERROR, e.getMessage()); } }); - } /* @@ -173,7 +172,6 @@ public class ApiBridgeHandler extends BaseBridgeHandler { @Override public void handleCommand(ChannelUID channelUID, Command command) { // TODO Auto-generated method stub - } @Override @@ -200,7 +198,6 @@ public class ApiBridgeHandler extends BaseBridgeHandler { } catch (NamespaceException | ServletException | IOException e) { logger.warn("Error during linky servlet startup", e); } - } /** @@ -331,5 +328,4 @@ public class ApiBridgeHandler extends BaseBridgeHandler { return result; } - } diff --git a/bundles/org.openhab.binding.linky/src/main/java/org/openhab/binding/linky/internal/handler/EnedisBridgeHandler.java b/bundles/org.openhab.binding.linky/src/main/java/org/openhab/binding/linky/internal/handler/EnedisBridgeHandler.java index 63c997d7aa9..90c3232f721 100644 --- a/bundles/org.openhab.binding.linky/src/main/java/org/openhab/binding/linky/internal/handler/EnedisBridgeHandler.java +++ b/bundles/org.openhab.binding.linky/src/main/java/org/openhab/binding/linky/internal/handler/EnedisBridgeHandler.java @@ -51,5 +51,4 @@ public class EnedisBridgeHandler extends ApiBridgeHandler { super.dispose(); } - } diff --git a/bundles/org.openhab.binding.linky/src/main/java/org/openhab/binding/linky/internal/handler/MyElectricalDataBridgeHandler.java b/bundles/org.openhab.binding.linky/src/main/java/org/openhab/binding/linky/internal/handler/MyElectricalDataBridgeHandler.java index 0e96673a5f3..771f95f6cbd 100644 --- a/bundles/org.openhab.binding.linky/src/main/java/org/openhab/binding/linky/internal/handler/MyElectricalDataBridgeHandler.java +++ b/bundles/org.openhab.binding.linky/src/main/java/org/openhab/binding/linky/internal/handler/MyElectricalDataBridgeHandler.java @@ -51,5 +51,4 @@ public class MyElectricalDataBridgeHandler extends ApiBridgeHandler { super.dispose(); } - } diff --git a/bundles/org.openhab.binding.linky/src/main/resources/OH-INF/thing/thing-types.xml b/bundles/org.openhab.binding.linky/src/main/resources/OH-INF/thing/thing-types.xml index b5c655dbfef..ae6274f3fb8 100644 --- a/bundles/org.openhab.binding.linky/src/main/resources/OH-INF/thing/thing-types.xml +++ b/bundles/org.openhab.binding.linky/src/main/resources/OH-INF/thing/thing-types.xml @@ -4,51 +4,51 @@ xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0" xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd"> - - - - Provides your energy consumption data. - In order to receive the data, you must activate your account at - https://espace-client-particuliers.enedis.fr/web/espace-particuliers/compteur-linky. - - - - - - Your Enedis clientId - - - - Your Enedis clientSecret - - - - - - - - - Provides your energy consumption data. - In order to receive the data, you must activate your account at - https://espace-client-particuliers.enedis.fr/web/espace-particuliers/compteur-linky. - - - - - - Your Enedis token (can be left empty, use the connection page to automatically fill it - http://youopenhab/connectlinky) - - - - + + + + Provides your energy consumption data. + In order to receive the data, you must activate your account at + https://espace-client-particuliers.enedis.fr/web/espace-particuliers/compteur-linky. + + + + + + Your Enedis clientId + + + + Your Enedis clientSecret + + + + + + + + + Provides your energy consumption data. + In order to receive the data, you must activate your account at + https://espace-client-particuliers.enedis.fr/web/espace-particuliers/compteur-linky. + + + + + + Your Enedis token (can be left empty, use the connection page to automatically fill it + http://youopenhab/connectlinky) + + + + - - - - - - + + + + + + Provides your energy consumption data.