]> git.basschouten.com Git - openhab-addons.git/commit
[opengarage] Add door transition status support (#14028)
authorTim Harper <timcharper@gmail.com>
Thu, 14 Dec 2023 21:09:23 +0000 (22:09 +0100)
committerGitHub <noreply@github.com>
Thu, 14 Dec 2023 21:09:23 +0000 (22:09 +0100)
commit9ebb203d587005a3e3a57d61b68aefe663a39497
treecd13aee8b722b0fe48bea7b397a970f0870c85e0
parent4a8cb5fac9afdf0346cd66c6a9d9f5f3462f7639
[opengarage] Add door transition status support (#14028)

* Add support for garage door transition status

Homekit requires a status for the garage door of OPEN, CLOSED, CLOSING,
OPENING. In order to report that, we must provide state transition
information. State transition information is inferred when the garage
door state is changed. For door_transition_time_seconds since the last
open/close command was issued, the binding reports the state as either
"closing" or "opening".

---------

Signed-off-by: Tim Harper <timcharper@gmail.com>
Co-authored-by: Laurent Garnier <lg.hc@free.fr>
bundles/org.openhab.binding.opengarage/README.md
bundles/org.openhab.binding.opengarage/src/main/java/org/openhab/binding/opengarage/internal/OpenGarageBindingConstants.java
bundles/org.openhab.binding.opengarage/src/main/java/org/openhab/binding/opengarage/internal/OpenGarageConfiguration.java
bundles/org.openhab.binding.opengarage/src/main/java/org/openhab/binding/opengarage/internal/OpenGarageHandler.java
bundles/org.openhab.binding.opengarage/src/main/java/org/openhab/binding/opengarage/internal/OpenGarageWebTargets.java
bundles/org.openhab.binding.opengarage/src/main/resources/OH-INF/i18n/opengarage.properties
bundles/org.openhab.binding.opengarage/src/main/resources/OH-INF/thing/thing-types.xml
bundles/org.openhab.binding.opengarage/src/main/resources/OH-INF/update/instructions.xml [new file with mode: 0644]