From a213d3d296465e2fdbe3d2674b809dd98c998125 Mon Sep 17 00:00:00 2001 From: TomoKRK <79454580+TomoKRK@users.noreply.github.com> Date: Sat, 13 Mar 2021 19:52:33 +0100 Subject: [PATCH] [yeelight] Add mono4 and strip6 (#10222) Adding additional models to deviceType enum - "mono4" and "strip6" (please note this is not a typo in "strip6" - six is at the end and without 'e') - based on the analysis of the debug info those new models are not being recognised by Yeelight binding in OH3 and as a result the bulb or the led stripe is constantly showing offline despite correct device id. --- .../openhab/binding/yeelight/internal/lib/enums/DeviceType.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bundles/org.openhab.binding.yeelight/src/main/java/org/openhab/binding/yeelight/internal/lib/enums/DeviceType.java b/bundles/org.openhab.binding.yeelight/src/main/java/org/openhab/binding/yeelight/internal/lib/enums/DeviceType.java index d5dfd8e1846..7b320a89709 100644 --- a/bundles/org.openhab.binding.yeelight/src/main/java/org/openhab/binding/yeelight/internal/lib/enums/DeviceType.java +++ b/bundles/org.openhab.binding.yeelight/src/main/java/org/openhab/binding/yeelight/internal/lib/enums/DeviceType.java @@ -19,6 +19,7 @@ package org.openhab.binding.yeelight.internal.lib.enums; */ public enum DeviceType { mono, + mono4, ct_bulb, color, ceiling, @@ -26,5 +27,6 @@ public enum DeviceType { ceiling3, ceiling4, stripe, + strip6, desklamp }