]> git.basschouten.com Git - openhab-addons.git/commitdiff
[lifx] Add missing products (#11405)
authorWouter Born <github@maindrain.net>
Mon, 18 Oct 2021 18:37:46 +0000 (20:37 +0200)
committerGitHub <noreply@github.com>
Mon, 18 Oct 2021 18:37:46 +0000 (20:37 +0200)
Adds the products with IDs 93, 112, 113, 114 so that they can be discovered and the right features are available.

Fixes #11402

Signed-off-by: Wouter Born <github@maindrain.net>
bundles/org.openhab.binding.lifx/src/main/java/org/openhab/binding/lifx/internal/LifxProduct.java

index 0cccb64928e9d723517c410c9ae5aac16ef5082c..5c78cda7262efda8e6674b52edb4c9d22c3a2243 100644 (file)
@@ -103,6 +103,7 @@ public enum LifxProduct {
     PRODUCT_90(90, "LIFX Clean", new Features(TR_1500_9000, COLOR, HEV)),
     PRODUCT_91(91, "LIFX Color", new Features(TR_1500_9000, COLOR)),
     PRODUCT_92(92, "LIFX Color", new Features(TR_1500_9000, COLOR)),
+    PRODUCT_93(93, "LIFX A19", new Features(TR_1500_9000, COLOR)),
     PRODUCT_94(94, "LIFX BR30", new Features(TR_1500_9000, COLOR)),
     PRODUCT_96(96, "LIFX Candle White to Warm", new Features(TR_2200_6500)),
     PRODUCT_97(97, "LIFX A19", new Features(TR_1500_9000, COLOR)),
@@ -112,7 +113,10 @@ public enum LifxProduct {
     PRODUCT_101(101, "LIFX Filament Amber", new Features(TR_2000_2000)),
     PRODUCT_109(109, "LIFX A19 Night Vision", new Features(TR_1500_9000, COLOR, INFRARED)),
     PRODUCT_110(110, "LIFX BR30 Night Vision", new Features(TR_1500_9000, COLOR, INFRARED)),
-    PRODUCT_111(111, "LIFX A19 Night Vision", new Features(TR_1500_9000, COLOR, INFRARED));
+    PRODUCT_111(111, "LIFX A19 Night Vision", new Features(TR_1500_9000, COLOR, INFRARED)),
+    PRODUCT_112(112, "LIFX BR30 Night Vision", new Features(TR_1500_9000, COLOR, INFRARED)),
+    PRODUCT_113(113, "LIFX Mini White to Warm", new Features(TR_1500_9000)),
+    PRODUCT_114(114, "LIFX Mini White to Warm", new Features(TR_1500_9000));
 
     /**
      * Enumerates the product features.