From d362ae7d3e19c290f2b7644dd744e9b1e906b8df Mon Sep 17 00:00:00 2001 From: Wouter Born Date: Sat, 7 Sep 2024 22:49:53 +0200 Subject: [PATCH] [lifx] Add support for new LIFX products (#17386) 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 --- .../java/org/openhab/binding/lifx/internal/LifxProduct.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bundles/org.openhab.binding.lifx/src/main/java/org/openhab/binding/lifx/internal/LifxProduct.java b/bundles/org.openhab.binding.lifx/src/main/java/org/openhab/binding/lifx/internal/LifxProduct.java index ee41132eb36..1f027fc439e 100644 --- a/bundles/org.openhab.binding.lifx/src/main/java/org/openhab/binding/lifx/internal/LifxProduct.java +++ b/bundles/org.openhab.binding.lifx/src/main/java/org/openhab/binding/lifx/internal/LifxProduct.java @@ -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.