]> git.basschouten.com Git - openhab-addons.git/commit
[easee] simplified determination of start/stop status due to recent API changes ...
authorAlexander Friese <alexf2015@users.noreply.github.com>
Sat, 9 Sep 2023 12:09:29 +0000 (14:09 +0200)
committerGitHub <noreply@github.com>
Sat, 9 Sep 2023 12:09:29 +0000 (14:09 +0200)
commitf4fed3a800131868c2f2834b10eccd5581a875f8
treea2a593db6ae47629212df50e22521b6359628d45
parentc0d66da660554f72337ec1a316907b223c0c73d4
[easee] simplified determination of start/stop status due to recent API changes (#15538)

* simplified determination of start/stop as the opMode now has new values (7+8) to show missing authentication (before this was included in value "2")
* refactored ChargerOpState to enum

---------

Signed-off-by: Alexander Friese <af944580@googlemail.com>
Signed-off-by: Alexander Friese <alexf2015@users.noreply.github.com>
Co-authored-by: lsiepel <leosiepel@gmail.com>
bundles/org.openhab.binding.easee/src/main/java/org/openhab/binding/easee/internal/EaseeBindingConstants.java
bundles/org.openhab.binding.easee/src/main/java/org/openhab/binding/easee/internal/model/ChargerOpState.java [new file with mode: 0644]
bundles/org.openhab.binding.easee/src/main/java/org/openhab/binding/easee/internal/model/CustomResponseTransformer.java