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: Andras Uhrin <andras.uhrin@gmail.com>
  • Loading branch information
octa22 authored and andrasU committed Nov 12, 2022
1 parent 1a321a9 commit df9a7b7
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 df9a7b7

Please sign in to comment.