]> git.basschouten.com Git - openhab-addons.git/commit
[homematic] Fix UI enumeration of HM-MOD-EM-8 channels (#10907)
authormaniac103 <dannybaumann@web.de>
Sat, 17 Jul 2021 21:33:08 +0000 (23:33 +0200)
committerGitHub <noreply@github.com>
Sat, 17 Jul 2021 21:33:08 +0000 (23:33 +0200)
commitd8aacd86a099695d2730b2a9492e489f3ca2b197
treed38944b10e90dce44900f36f8d858d22980cd99e
parentf7331d366eceea481be8f7389efdd1d8eb04b0f5
[homematic] Fix UI enumeration of HM-MOD-EM-8 channels (#10907)

The set of available HM-MOD-EM-8 channels varies depending on the
function a given channel is configured to use, which is why for those
devices we can't determine a static ThingType, but instead must populate
the thing channels on initialization. The existing code already handled
that case, but missed registering channel types for the dynamically
generated channels, which is why those channels were not shown in main
UI.

Signed-off-by: Danny Baumann <dannybaumann@web.de>
bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/handler/HomematicThingHandler.java
bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/handler/HomematicThingHandlerFactory.java
bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/type/HomematicTypeGeneratorImpl.java