]> git.basschouten.com Git - openhab-addons.git/commit
[homekit] Fix invertedness of GarageDoorOpener characteristics (#17181)
authorCody Cutrer <cody@cutrer.us>
Tue, 30 Jul 2024 13:02:06 +0000 (07:02 -0600)
committerGitHub <noreply@github.com>
Tue, 30 Jul 2024 13:02:06 +0000 (15:02 +0200)
commitcc6a202034bc325fe5759d63c71e7a61ef57b938
tree4836fa8a244c5f6346a3dd05f6f67a453cd066bd
parent077cea0e74e2b181a55c9d96844c4ebfab38fc1b
[homekit] Fix invertedness of GarageDoorOpener characteristics (#17181)

In #17137, CurrentDoorState and TargetDoorState were moved from being part
of the accessory itself, to using the CharacteristicFactory, but they lost the
flag that default-inverts them. So make sure to pass that flag in the new location
that the mapping is created.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
bundles/org.openhab.io.homekit/src/main/java/org/openhab/io/homekit/internal/accessories/HomekitCharacteristicFactory.java