]> git.basschouten.com Git - openhab-addons.git/commitdiff
[lifx] Add support for newer downlights (#14362)
authorWouter Born <github@maindrain.net>
Wed, 8 Feb 2023 22:50:40 +0000 (23:50 +0100)
committerGitHub <noreply@github.com>
Wed, 8 Feb 2023 22:50:40 +0000 (23:50 +0100)
Allows for discovering the new downlights (PID 121, 122) 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 8a651427db4de0baf7c6265f1bc146cdadd3b45d..3c26433694ea26d5c290f9915aef2bf70127ec53 100644 (file)
@@ -123,6 +123,8 @@ public enum LifxProduct {
     PRODUCT_118(118, "LIFX Z", new Features(TR_1500_9000, COLOR, EXTENDED_MULTIZONE, MULTIZONE)),
     PRODUCT_119(119, "LIFX Beam", new Features(TR_1500_9000, COLOR, EXTENDED_MULTIZONE, MULTIZONE)),
     PRODUCT_120(120, "LIFX Beam", new Features(TR_1500_9000, COLOR, EXTENDED_MULTIZONE, MULTIZONE)),
+    PRODUCT_121(121, "LIFX Downlight", new Features(TR_1500_9000, COLOR)),
+    PRODUCT_122(122, "LIFX Downlight", new Features(TR_1500_9000, COLOR)),
     PRODUCT_123(123, "LIFX Color", new Features(TR_1500_9000, COLOR)),
     PRODUCT_124(124, "LIFX Color", new Features(TR_1500_9000, COLOR)),
     PRODUCT_125(125, "LIFX White to Warm", new Features(TR_1500_9000)),