]> git.basschouten.com Git - openhab-addons.git/commit
[ecowatt] Add support for API version 5 (#15953)
authorlolodomo <lg.hc@free.fr>
Sun, 26 Nov 2023 22:34:45 +0000 (23:34 +0100)
committerGitHub <noreply@github.com>
Sun, 26 Nov 2023 22:34:45 +0000 (23:34 +0100)
commit9b55bfba58cf06982c306e3f565286d3d9849101
tree7e59c86e6b4f565667a7910aca7e7517786f2095
parenta4da9863301dec962ec4cf395bce813761ed24f7
[ecowatt] Add support for API version 5 (#15953)

A new thing parameter to define the API version has been added.
Its default value is 4 for backward compatibility even if this version
is now deprecated. The documentation explains what to do to switch from
a version to another.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
bundles/org.openhab.binding.ecowatt/README.md
bundles/org.openhab.binding.ecowatt/src/main/java/org/openhab/binding/ecowatt/internal/configuration/EcowattConfiguration.java
bundles/org.openhab.binding.ecowatt/src/main/java/org/openhab/binding/ecowatt/internal/handler/EcowattHandler.java
bundles/org.openhab.binding.ecowatt/src/main/java/org/openhab/binding/ecowatt/internal/restapi/EcowattDaySignals.java
bundles/org.openhab.binding.ecowatt/src/main/java/org/openhab/binding/ecowatt/internal/restapi/EcowattRestApi.java
bundles/org.openhab.binding.ecowatt/src/main/resources/OH-INF/i18n/ecowatt.properties
bundles/org.openhab.binding.ecowatt/src/main/resources/OH-INF/thing/thing-types.xml
bundles/org.openhab.binding.ecowatt/src/test/java/org/openhab/binding/ecowatt/internal/EcowattApiResponseTest.java
bundles/org.openhab.binding.ecowatt/src/test/resources/ApiResponse.json