]> git.basschouten.com Git - openhab-addons.git/commitdiff
[yeelight] Add mono4 and strip6 (#10222)
authorTomoKRK <79454580+TomoKRK@users.noreply.github.com>
Sat, 13 Mar 2021 18:52:33 +0000 (19:52 +0100)
committerGitHub <noreply@github.com>
Sat, 13 Mar 2021 18:52:33 +0000 (19:52 +0100)
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.

bundles/org.openhab.binding.yeelight/src/main/java/org/openhab/binding/yeelight/internal/lib/enums/DeviceType.java

index d5dfd8e18460a134b571e75e0341f229256c72fe..7b320a89709062196fbd411121dc5143faa0ace8 100644 (file)
@@ -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
 }