mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
[Yeelight] Add color4 bulb (#11908)
* [Yeelight] Add color4 bulb Signed-off-by: Vlado Ilic <kakonema@gmail.com>
This commit is contained in:
parent
a1df7a82ff
commit
52b4bd8f10
@ -92,6 +92,7 @@ public class YeelightDiscoveryService extends AbstractDiscoveryService implement
|
||||
case ceiling4:
|
||||
return new ThingUID(YeelightBindingConstants.THING_TYPE_CEILING4, device.getDeviceId());
|
||||
case color:
|
||||
case color4:
|
||||
return new ThingUID(YeelightBindingConstants.THING_TYPE_WONDER, device.getDeviceId());
|
||||
case mono:
|
||||
return new ThingUID(YeelightBindingConstants.THING_TYPE_DOLPHIN, device.getDeviceId());
|
||||
@ -117,6 +118,7 @@ public class YeelightDiscoveryService extends AbstractDiscoveryService implement
|
||||
case ceiling4:
|
||||
return YeelightBindingConstants.THING_TYPE_CEILING4;
|
||||
case color:
|
||||
case color4:
|
||||
return YeelightBindingConstants.THING_TYPE_WONDER;
|
||||
case mono:
|
||||
return YeelightBindingConstants.THING_TYPE_DOLPHIN;
|
||||
|
@ -41,6 +41,7 @@ public class DeviceFactory {
|
||||
case ceiling4:
|
||||
return new CeilingDeviceWithAmbientDevice(id);
|
||||
case color:
|
||||
case color4:
|
||||
return new WonderDevice(id);
|
||||
case mono:
|
||||
return new MonoDevice(id);
|
||||
|
@ -22,6 +22,7 @@ public enum DeviceType {
|
||||
mono4,
|
||||
ct_bulb,
|
||||
color,
|
||||
color4,
|
||||
ceiling,
|
||||
ceiling1,
|
||||
ceiling3,
|
||||
|
@ -339,6 +339,7 @@ public class DeviceManager {
|
||||
case ceiling4:
|
||||
return "Yeelight LED Ceiling with ambient light";
|
||||
case color:
|
||||
case color4:
|
||||
return "Yeelight Color LED Bulb";
|
||||
case mono:
|
||||
return "Yeelight White LED Bulb";
|
||||
|
Loading…
Reference in New Issue
Block a user