]> git.basschouten.com Git - openhab-addons.git/commit
[knx] Allow sending items with units to KNX bus. (#12675)
authorHolger Friedrich <holgerfriedrich@users.noreply.github.com>
Sun, 8 May 2022 09:23:18 +0000 (11:23 +0200)
committerGitHub <noreply@github.com>
Sun, 8 May 2022 09:23:18 +0000 (11:23 +0200)
commit8830ed527e95c427addaacb87ae4e9748f473309
treecb24f091bfad453a886f762fe6e8ade340dbab52
parent961696ead6f718640424e517174e44d2da0017b0
[knx] Allow sending items with units to KNX bus. (#12675)

Items with dimensions (QuantityType) are now translated and can be sent to the
KNX bus. This requires the correct DPT to be specified in the channel
definition. Fixes #10706.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
bundles/org.openhab.binding.knx/README.md
bundles/org.openhab.binding.knx/src/main/java/org/openhab/binding/knx/internal/channel/KNXChannelType.java
bundles/org.openhab.binding.knx/src/main/java/org/openhab/binding/knx/internal/dpt/KNXCoreTypeMapper.java
bundles/org.openhab.binding.knx/src/test/java/org/openhab/binding/knx/internal/dpt/KNXCoreTypeMapperTest.java