[somfytahoma] Improved compatibility with the Somfy Connectivity Kit (#12532)
Signed-off-by: Ondrej Pecta <opecta@gmail.com>
This commit is contained in:
parent
c5b6ce97bb
commit
c22a33d651
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue