]> git.basschouten.com Git - openhab-addons.git/commitdiff
[lifx] Add support for new LIFX products (#17386)
authorWouter Born <github@maindrain.net>
Sat, 7 Sep 2024 20:49:53 +0000 (22:49 +0200)
committerGitHub <noreply@github.com>
Sat, 7 Sep 2024 20:49:53 +0000 (22:49 +0200)
Allows for discovering the new LIFX B10 and T10 Candle products and their features.

See: https://github.com/LIFX/products/blob/master/products.json

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

index ee41132eb360f69013235d8402e41d7d4b4c5c46..1f027fc439e19d9285b4bf59e914f76bf44fdc40 100644 (file)
@@ -171,7 +171,11 @@ public enum LifxProduct {
     PRODUCT_203(203, "LIFX String", new Features(TR_1500_9000, COLOR, EXTENDED_MULTIZONE, MULTIZONE)),
     PRODUCT_204(204, "LIFX String", new Features(TR_1500_9000, COLOR, EXTENDED_MULTIZONE, MULTIZONE)),
     PRODUCT_205(205, "LIFX Neon", new Features(TR_1500_9000, COLOR, EXTENDED_MULTIZONE, MULTIZONE)),
-    PRODUCT_206(206, "LIFX Neon", new Features(TR_1500_9000, COLOR, EXTENDED_MULTIZONE, MULTIZONE));
+    PRODUCT_206(206, "LIFX Neon", new Features(TR_1500_9000, COLOR, EXTENDED_MULTIZONE, MULTIZONE)),
+    PRODUCT_215(215, "LIFX B10 Candle", new Features(TR_1500_9000, COLOR, MATRIX)),
+    PRODUCT_216(216, "LIFX B10 Candle", new Features(TR_1500_9000, COLOR, MATRIX)),
+    PRODUCT_217(217, "LIFX T10 Candle", new Features(TR_1500_9000, COLOR, MATRIX)),
+    PRODUCT_218(218, "LIFX T10 Candle", new Features(TR_1500_9000, COLOR, MATRIX));
 
     /**
      * Enumerates the product features.