]> git.basschouten.com Git - openhab-addons.git/commit
[homekit] Automatically assume valid enum values when linking to Switch/Contact ...
authorCody Cutrer <cody@cutrer.us>
Wed, 24 Jul 2024 07:22:42 +0000 (01:22 -0600)
committerGitHub <noreply@github.com>
Wed, 24 Jul 2024 07:22:42 +0000 (09:22 +0200)
commitbb26e978c285b78b1d54929ff498d84ce8b1260c
treeb632db673ec3b6ad7f1285eaba60f08171fa5d17
parente9369b6956a3814705bae1b5d5dda3ecc87a68d6
[homekit] Automatically assume valid enum values when linking to Switch/Contact (#17134)

this allows using switches and contacts for enums without additional configuration
if they already line up well with the first two values (such as they do for a
thermostat, when it represents a simple heater)

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