mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
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:
|
||||
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;
|
||||
|
@ -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);
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user