]> git.basschouten.com Git - openhab-addons.git/commitdiff
[lifx] Add support for new LIFX products (#15957)
authorWouter Born <github@maindrain.net>
Sat, 25 Nov 2023 21:56:04 +0000 (22:56 +0100)
committerGitHub <noreply@github.com>
Sat, 25 Nov 2023 21:56:04 +0000 (22:56 +0100)
Allows for discovering all the new LIFX products and their features:

* LIFX Neon
* LIFX String

See:

* https://github.com/LIFX/products/blob/master/products.json
* https://www.lifx.com.au/products/neon-flex-2m-indoor
* https://www.lifx.com.au/products/lifx-string-light

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

index 105ddb8d8071a5a0c1857e06109262f817938722..ba9438a48ced961a6a7671d9d69dc3ea1faafcef 100644 (file)
@@ -28,6 +28,8 @@ The following table lists the thing types of the supported LIFX devices:
 | LIFX+ BR30                   | colorirlight  |
 |                              |               |
 | LIFX Beam                    | colormzlight  |
+| LIFX Neon                    | colormzlight  |
+| LIFX String                  | colormzlight  |
 | LIFX Z                       | colormzlight  |
 |                              |               |
 | LIFX Tile                    | tilelight     |
index d60e03e5e6502a64cffd1e18b238ed5425d1b822..76890e7485cf542a1cfa578001599915250ebb3d 100644 (file)
@@ -141,7 +141,11 @@ public enum LifxProduct {
     PRODUCT_135(135, "LIFX GU10", new Features(TR_1500_9000, COLOR)),
     PRODUCT_136(136, "LIFX GU10", new Features(TR_1500_9000, COLOR)),
     PRODUCT_137(137, "LIFX Candle", new Features(TR_1500_9000, COLOR, MATRIX)),
-    PRODUCT_138(138, "LIFX Candle", new Features(TR_1500_9000, COLOR, MATRIX));
+    PRODUCT_138(138, "LIFX Candle", new Features(TR_1500_9000, COLOR, MATRIX)),
+    PRODUCT_141(141, "LIFX Neon", new Features(TR_1500_9000, COLOR, EXTENDED_MULTIZONE, MULTIZONE)),
+    PRODUCT_142(142, "LIFX Neon", new Features(TR_1500_9000, COLOR, EXTENDED_MULTIZONE, MULTIZONE)),
+    PRODUCT_143(143, "LIFX String", new Features(TR_1500_9000, COLOR, EXTENDED_MULTIZONE, MULTIZONE)),
+    PRODUCT_144(144, "LIFX String", new Features(TR_1500_9000, COLOR, EXTENDED_MULTIZONE, MULTIZONE));
 
     /**
      * Enumerates the product features.