diff --git a/bundles/org.openhab.binding.yeelight/src/main/java/org/openhab/binding/yeelight/internal/discovery/YeelightDiscoveryService.java b/bundles/org.openhab.binding.yeelight/src/main/java/org/openhab/binding/yeelight/internal/discovery/YeelightDiscoveryService.java index d8bd40fee47..f2b61b5f19c 100644 --- a/bundles/org.openhab.binding.yeelight/src/main/java/org/openhab/binding/yeelight/internal/discovery/YeelightDiscoveryService.java +++ b/bundles/org.openhab.binding.yeelight/src/main/java/org/openhab/binding/yeelight/internal/discovery/YeelightDiscoveryService.java @@ -99,6 +99,7 @@ public class YeelightDiscoveryService extends AbstractDiscoveryService implement case ct_bulb: return new ThingUID(YeelightBindingConstants.THING_TYPE_CTBULB, device.getDeviceId()); case stripe: + case strip6: return new ThingUID(YeelightBindingConstants.THING_TYPE_STRIPE, device.getDeviceId()); case desklamp: return new ThingUID(YeelightBindingConstants.THING_TYPE_DESKLAMP, device.getDeviceId()); @@ -125,6 +126,7 @@ public class YeelightDiscoveryService extends AbstractDiscoveryService implement case ct_bulb: return YeelightBindingConstants.THING_TYPE_CTBULB; case stripe: + case strip6: return YeelightBindingConstants.THING_TYPE_STRIPE; case desklamp: return YeelightBindingConstants.THING_TYPE_DESKLAMP; diff --git a/bundles/org.openhab.binding.yeelight/src/main/java/org/openhab/binding/yeelight/internal/lib/device/DeviceFactory.java b/bundles/org.openhab.binding.yeelight/src/main/java/org/openhab/binding/yeelight/internal/lib/device/DeviceFactory.java index 7c9f5fe7e48..e283badcd48 100644 --- a/bundles/org.openhab.binding.yeelight/src/main/java/org/openhab/binding/yeelight/internal/lib/device/DeviceFactory.java +++ b/bundles/org.openhab.binding.yeelight/src/main/java/org/openhab/binding/yeelight/internal/lib/device/DeviceFactory.java @@ -48,6 +48,7 @@ public class DeviceFactory { case ct_bulb: return new CtBulbDevice(id); case stripe: + case strip6: return new PitayaDevice(id); case desklamp: return new DesklampDevice(id); diff --git a/bundles/org.openhab.binding.yeelight/src/main/java/org/openhab/binding/yeelight/internal/lib/services/DeviceManager.java b/bundles/org.openhab.binding.yeelight/src/main/java/org/openhab/binding/yeelight/internal/lib/services/DeviceManager.java index e3115028a87..a962671c836 100644 --- a/bundles/org.openhab.binding.yeelight/src/main/java/org/openhab/binding/yeelight/internal/lib/services/DeviceManager.java +++ b/bundles/org.openhab.binding.yeelight/src/main/java/org/openhab/binding/yeelight/internal/lib/services/DeviceManager.java @@ -346,6 +346,7 @@ public class DeviceManager { case ct_bulb: return "Yeelight White LED Bulb v2"; case stripe: + case strip6: return "Yeelight Color LED Stripe"; case desklamp: return "Yeelight Mi LED Desk Lamp";