Skip to content

Commit

Permalink
[lifx] Add support for new LIFX products (openhab#15957)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
wborn authored Nov 25, 2023
1 parent 1c8ce7c commit 5177cf1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions bundles/org.openhab.binding.lifx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 5177cf1

Please sign in to comment.