Commit c18736c9306a7deb9bd40fb2962da47712739005
Committed by
Moritz Wirger
1 parent
a16d2be9
Add support for LCT015 & LCT016 lights, which closes #19
Showing
1 changed file
with
1 additions
and
1 deletions
hueplusplus/Hue.cpp
| @@ -192,7 +192,7 @@ HueLight& Hue::getLight(int id) | @@ -192,7 +192,7 @@ HueLight& Hue::getLight(int id) | ||
| 192 | lights.emplace(id, light); | 192 | lights.emplace(id, light); |
| 193 | return lights.find(id)->second; | 193 | return lights.find(id)->second; |
| 194 | } | 194 | } |
| 195 | - else if (type == "LCT010" || type == "LCT011" || type == "LCT014" || type == "LLC020" || type == "LST002") | 195 | + else if (type == "LCT010" || type == "LCT011" || type == "LCT014" || type == "LCT015" || type == "LCT016" || type == "LLC020" || type == "LST002") |
| 196 | { | 196 | { |
| 197 | // HueExtendedColorLight Gamut C | 197 | // HueExtendedColorLight Gamut C |
| 198 | HueLight light = HueLight(id, commands, simpleBrightnessStrategy, extendedColorTemperatureStrategy, extendedColorHueStrategy); | 198 | HueLight light = HueLight(id, commands, simpleBrightnessStrategy, extendedColorTemperatureStrategy, extendedColorHueStrategy); |