[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:
J-N-K 2023-11-06 21:31:53 +01:00 committed by GitHub
parent 4e7d7363c1
commit d2694d47e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -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 -> {

View File

@ -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"),