Add Sptrip6 device (#14584)
Signed-off-by: Alexandr Salamatov <goopilot@gmail.com>
This commit is contained in:
parent
7268442c25
commit
979ecb0f98
|
@ -99,6 +99,7 @@ public class YeelightDiscoveryService extends AbstractDiscoveryService implement
|
||||||
case ct_bulb:
|
case ct_bulb:
|
||||||
return new ThingUID(YeelightBindingConstants.THING_TYPE_CTBULB, device.getDeviceId());
|
return new ThingUID(YeelightBindingConstants.THING_TYPE_CTBULB, device.getDeviceId());
|
||||||
case stripe:
|
case stripe:
|
||||||
|
case strip6:
|
||||||
return new ThingUID(YeelightBindingConstants.THING_TYPE_STRIPE, device.getDeviceId());
|
return new ThingUID(YeelightBindingConstants.THING_TYPE_STRIPE, device.getDeviceId());
|
||||||
case desklamp:
|
case desklamp:
|
||||||
return new ThingUID(YeelightBindingConstants.THING_TYPE_DESKLAMP, device.getDeviceId());
|
return new ThingUID(YeelightBindingConstants.THING_TYPE_DESKLAMP, device.getDeviceId());
|
||||||
|
@ -125,6 +126,7 @@ public class YeelightDiscoveryService extends AbstractDiscoveryService implement
|
||||||
case ct_bulb:
|
case ct_bulb:
|
||||||
return YeelightBindingConstants.THING_TYPE_CTBULB;
|
return YeelightBindingConstants.THING_TYPE_CTBULB;
|
||||||
case stripe:
|
case stripe:
|
||||||
|
case strip6:
|
||||||
return YeelightBindingConstants.THING_TYPE_STRIPE;
|
return YeelightBindingConstants.THING_TYPE_STRIPE;
|
||||||
case desklamp:
|
case desklamp:
|
||||||
return YeelightBindingConstants.THING_TYPE_DESKLAMP;
|
return YeelightBindingConstants.THING_TYPE_DESKLAMP;
|
||||||
|
|
|
@ -48,6 +48,7 @@ public class DeviceFactory {
|
||||||
case ct_bulb:
|
case ct_bulb:
|
||||||
return new CtBulbDevice(id);
|
return new CtBulbDevice(id);
|
||||||
case stripe:
|
case stripe:
|
||||||
|
case strip6:
|
||||||
return new PitayaDevice(id);
|
return new PitayaDevice(id);
|
||||||
case desklamp:
|
case desklamp:
|
||||||
return new DesklampDevice(id);
|
return new DesklampDevice(id);
|
||||||
|
|
|
@ -346,6 +346,7 @@ public class DeviceManager {
|
||||||
case ct_bulb:
|
case ct_bulb:
|
||||||
return "Yeelight White LED Bulb v2";
|
return "Yeelight White LED Bulb v2";
|
||||||
case stripe:
|
case stripe:
|
||||||
|
case strip6:
|
||||||
return "Yeelight Color LED Stripe";
|
return "Yeelight Color LED Stripe";
|
||||||
case desklamp:
|
case desklamp:
|
||||||
return "Yeelight Mi LED Desk Lamp";
|
return "Yeelight Mi LED Desk Lamp";
|
||||||
|
|
Loading…
Reference in New Issue