mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
[deconz] Support window covering controller (#15856)
Some devices report "Window covering controller" instead of "Window covering device". They are controlled in the same way. Signed-off-by: Jan N. Klug <github@klug.nrw>
This commit is contained in:
parent
4e7d7363c1
commit
d2694d47e4
@ -193,7 +193,7 @@ public class ThingDiscoveryService extends AbstractDiscoveryService implements D
|
||||
case COLOR_TEMPERATURE_LIGHT -> thingTypeUID = THING_TYPE_COLOR_TEMPERATURE_LIGHT;
|
||||
case COLOR_DIMMABLE_LIGHT, COLOR_LIGHT -> thingTypeUID = THING_TYPE_COLOR_LIGHT;
|
||||
case EXTENDED_COLOR_LIGHT -> thingTypeUID = THING_TYPE_EXTENDED_COLOR_LIGHT;
|
||||
case WINDOW_COVERING_DEVICE -> thingTypeUID = THING_TYPE_WINDOW_COVERING;
|
||||
case WINDOW_COVERING_DEVICE, WINDOW_COVERING_CONTROLLER -> thingTypeUID = THING_TYPE_WINDOW_COVERING;
|
||||
case WARNING_DEVICE -> thingTypeUID = THING_TYPE_WARNING_DEVICE;
|
||||
case DOORLOCK -> thingTypeUID = THING_TYPE_DOORLOCK;
|
||||
case CONFIGURATION_TOOL -> {
|
||||
|
@ -38,6 +38,7 @@ public enum LightType {
|
||||
DIMMABLE_LIGHT("Dimmable light"),
|
||||
DIMMABLE_PLUGIN_UNIT("Dimmable plug-in unit"),
|
||||
WINDOW_COVERING_DEVICE("Window covering device"),
|
||||
WINDOW_COVERING_CONTROLLER("Window covering controller"),
|
||||
CONFIGURATION_TOOL("Configuration tool"),
|
||||
WARNING_DEVICE("Warning device"),
|
||||
DOORLOCK("Door Lock"),
|
||||
|
Loading…
Reference in New Issue
Block a user