]> git.basschouten.com Git - openhab-addons.git/commit
[evcc] Adjust to API changes & Add new channels for evcc 0.117.0 (#14983)
authorFlorian Hotze <florianh_dev@icloud.com>
Sun, 21 May 2023 19:21:38 +0000 (21:21 +0200)
committerGitHub <noreply@github.com>
Sun, 21 May 2023 19:21:38 +0000 (21:21 +0200)
commit095a5df323ad24b4a10722a83fcde536c340688b
tree451f62b723ca97f2aa9a48577d48d4d7e133a102
parent0724c3febc7e416df6c1aaabddcb9421e5b47f49
[evcc] Adjust to API changes & Add new channels for evcc 0.117.0 (#14983)

* [evcc] Remove `hasVehicle` channel
* [evcc] Update API for evcc 0.117.0
* [evcc] Fix targetSoC and targetTime not working

Also:
- Use new Java 17 features.

Fixes #14348.

* [evcc] Add `targetEnergy` channel
* [evcc] Make `batteryPrioritySoC` channel writable

Closes #14347.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
bundles/org.openhab.binding.evcc/README.md
bundles/org.openhab.binding.evcc/src/main/java/org/openhab/binding/evcc/internal/EvccBindingConstants.java
bundles/org.openhab.binding.evcc/src/main/java/org/openhab/binding/evcc/internal/EvccHandler.java
bundles/org.openhab.binding.evcc/src/main/java/org/openhab/binding/evcc/internal/api/EvccAPI.java
bundles/org.openhab.binding.evcc/src/main/java/org/openhab/binding/evcc/internal/api/dto/Loadpoint.java
bundles/org.openhab.binding.evcc/src/main/java/org/openhab/binding/evcc/internal/api/dto/Result.java
bundles/org.openhab.binding.evcc/src/main/java/org/openhab/binding/evcc/internal/api/dto/Status.java
bundles/org.openhab.binding.evcc/src/main/resources/OH-INF/i18n/evcc.properties
bundles/org.openhab.binding.evcc/src/main/resources/OH-INF/thing/thing-types.xml