From: Ondrej Pecta Date: Sun, 27 Mar 2022 18:05:18 +0000 (+0200) Subject: [somfytahoma] Improved compatibility with the Somfy Connectivity Kit (#12532) X-Git-Url: https://git.basschouten.com/?a=commitdiff_plain;h=c22a33d651bb382e21cbdc5c2ae39c4dc5029636;p=openhab-addons.git [somfytahoma] Improved compatibility with the Somfy Connectivity Kit (#12532) Signed-off-by: Ondrej Pecta --- diff --git a/bundles/org.openhab.binding.somfytahoma/src/main/java/org/openhab/binding/somfytahoma/internal/discovery/SomfyTahomaItemDiscoveryService.java b/bundles/org.openhab.binding.somfytahoma/src/main/java/org/openhab/binding/somfytahoma/internal/discovery/SomfyTahomaItemDiscoveryService.java index f907a5cd32..c19c52075c 100644 --- a/bundles/org.openhab.binding.somfytahoma/src/main/java/org/openhab/binding/somfytahoma/internal/discovery/SomfyTahomaItemDiscoveryService.java +++ b/bundles/org.openhab.binding.somfytahoma/src/main/java/org/openhab/binding/somfytahoma/internal/discovery/SomfyTahomaItemDiscoveryService.java @@ -180,8 +180,9 @@ public class SomfyTahomaItemDiscoveryService extends AbstractDiscoveryService deviceDiscovered(device, THING_TYPE_GARAGEDOOR, place); break; case CLASS_LIGHT: - if ("DimmerLight".equals(device.getWidget())) { + if ("DimmerLight".equals(device.getWidget()) || "DynamicLight".equals(device.getWidget())) { // widget: DimmerLight + // widget: DynamicLight deviceDiscovered(device, THING_TYPE_DIMMER_LIGHT, place); } else { // widget: TimedOnOffLight