[lifx] Add missing color feature to a few products (#11180)

Updates the LIFX Candle (PID 68) and LIFX Clean (PID 90, 99) products to support color features.

Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
Wouter Born 2021-08-31 19:43:38 +02:00 committed by GitHub
parent cd69c77cd5
commit 6c3e937f02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -18,6 +18,7 @@ The following table lists the thing types of the supported LIFX devices:
| LIFX A19 | colorlight |
| LIFX BR30 | colorlight |
| LIFX Candle | colorlight |
| LIFX Clean | colorlight |
| LIFX Downlight | colorlight |
| LIFX GU10 | colorlight |
| LIFX Mini Color | colorlight |

View File

@ -91,7 +91,7 @@ public enum LifxProduct {
PRODUCT_64(64, "LIFX A19 Night Vision", new Features(TR_1500_9000, COLOR, INFRARED)),
PRODUCT_65(65, "LIFX BR30 Night Vision", new Features(TR_1500_9000, COLOR, INFRARED)),
PRODUCT_66(66, "LIFX Mini White", new Features(TR_2700_2700)),
PRODUCT_68(68, "LIFX Candle", new Features(TR_1500_9000, MATRIX)),
PRODUCT_68(68, "LIFX Candle", new Features(TR_1500_9000, COLOR, MATRIX)),
PRODUCT_70(70, "LIFX Switch", new Features(BUTTONS, RELAYS)),
PRODUCT_71(71, "LIFX Switch", new Features(BUTTONS, RELAYS)),
PRODUCT_81(81, "LIFX Candle White to Warm", new Features(TR_2200_6500)),
@ -100,14 +100,14 @@ public enum LifxProduct {
PRODUCT_87(87, "LIFX Mini White", new Features(TR_2700_2700)),
PRODUCT_88(88, "LIFX Mini White", new Features(TR_2700_2700)),
PRODUCT_89(89, "LIFX Switch", new Features(BUTTONS, RELAYS)),
PRODUCT_90(90, "LIFX Clean", new Features(TR_1500_9000, HEV)),
PRODUCT_90(90, "LIFX Clean", new Features(TR_1500_9000, COLOR, HEV)),
PRODUCT_91(91, "LIFX Color", new Features(TR_1500_9000, COLOR)),
PRODUCT_92(92, "LIFX Color", new Features(TR_1500_9000, COLOR)),
PRODUCT_94(94, "LIFX BR30", new Features(TR_1500_9000, COLOR)),
PRODUCT_96(96, "LIFX Candle White to Warm", new Features(TR_2200_6500)),
PRODUCT_97(97, "LIFX A19", new Features(TR_1500_9000, COLOR)),
PRODUCT_98(98, "LIFX BR30", new Features(TR_1500_9000, COLOR)),
PRODUCT_99(99, "LIFX Clean", new Features(TR_1500_9000, HEV)),
PRODUCT_99(99, "LIFX Clean", new Features(TR_1500_9000, COLOR, HEV)),
PRODUCT_100(100, "LIFX Filament Clear", new Features(TR_2100_2100)),
PRODUCT_101(101, "LIFX Filament Amber", new Features(TR_2000_2000)),
PRODUCT_109(109, "LIFX A19 Night Vision", new Features(TR_1500_9000, COLOR, INFRARED)),