]> git.basschouten.com Git - openhab-addons.git/commit
[Juicenet] Fix Charging state controls and override functionality (#15566)
authorEd Martin <edman007@edman007.com>
Sat, 9 Sep 2023 13:58:51 +0000 (09:58 -0400)
committerGitHub <noreply@github.com>
Sat, 9 Sep 2023 13:58:51 +0000 (15:58 +0200)
commitedef832a84647a69ef1d3bd54d19587705c7db46
tree337f5c01fbe0e271ffd33f96244acd6e28301471
parentc775792896dbd2b92e79ad90f00d17f48c2b354a
[Juicenet] Fix Charging state controls and override functionality (#15566)

* [Juicenet] Fix typos in setOverride()
 Some obvious typos in setOverride() result in the timestamp being
  ignored which causes it to fail

Fixes #15564

* [Juicenet] Allow disabling the override
 - The charger has default settings upon plugin, changing the current state
    sets the overide to Y, this makes override settable only in the N direction
    to remove whatever settings were previously applied

* [Juicenet] Document new writable status of override

---------

Signed-off-by: Ed Martin <edman007@edman007.com>
bundles/org.openhab.binding.juicenet/README.md
bundles/org.openhab.binding.juicenet/src/main/java/org/openhab/binding/juicenet/internal/api/JuiceNetApi.java
bundles/org.openhab.binding.juicenet/src/main/java/org/openhab/binding/juicenet/internal/handler/JuiceNetDeviceHandler.java