Skip to content

Commit

Permalink
[somfytahoma] Improved compatibility with the Somfy Connectivity Kit (o…
Browse files Browse the repository at this point in the history
…penhab#12532)

Signed-off-by: Ondrej Pecta <opecta@gmail.com>
Signed-off-by: Nick Waterton <n.waterton@outlook.com>
  • Loading branch information
octa22 authored and NickWaterton committed Apr 27, 2022
1 parent fb5f198 commit 13a7601
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,9 @@ private void discoverDevice(SomfyTahomaDevice device, SomfyTahomaSetup setup) {
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
Expand Down

0 comments on commit 13a7601

Please sign in to comment.