Skip to content

Commit

Permalink
Fix GladysAssistant#623 - Add LCA001 Hue color lamp model (GladysAssi…
Browse files Browse the repository at this point in the history
…stant#624)

* Fix GladysAssistant#623 - Add LCA001 Hue color lamp model

* run prettier
  • Loading branch information
hotfix31 authored and Pierre-Gilles committed Dec 9, 2019
1 parent 319f5de commit 0ac255c
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 0 deletions.
1 change: 1 addition & 0 deletions server/services/philips-hue/lib/light/light.getLights.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ async function getLights() {
case 'LST002': // hue lightstrip indoor 2nd generation
case 'LCT024': // Hue play 1
case 'LCT010': // Hue A19 White & Color w/ Richer Colors
case 'LCA001': // Hue color lamp
case 'GL-C-008': // Non-hue LED Strip
lightsToReturn.push(getPhilipsHueColorTemperatureLight(philipsHueLight, serialNumber, this.serviceId));
break;
Expand Down
62 changes: 62 additions & 0 deletions server/test/services/philips-hue/lights.json
Original file line number Diff line number Diff line change
Expand Up @@ -718,6 +718,68 @@
},
"_id": 17,
"id": 17
},
{
"state": {
"on": false,
"bri": 107,
"hue": 42611,
"sat": 94,
"effect": "none",
"xy": [0.2976, 0.3054],
"ct": 153,
"alert": "none",
"colormode": "xy",
"mode": "homeautomation",
"reachable": true
},
"swupdate": {
"state": "noupdates",
"lastinstall": "2019-11-30T12:41:53"
},
"type": "Extended color light",
"name": "plafonier",
"modelid": "LCA001",
"manufacturername": "Philips",
"productname": "Hue color lamp",
"_rawData": {
"capabilities": {
"certified": true,
"control": {
"mindimlevel": 200,
"maxlumen": 800,
"colorgamuttype": "C",
"colorgamut": [[0.6915, 0.3083], [0.17, 0.7], [0.1532, 0.0475]],
"ct": {
"min": 153,
"max": 500
}
},
"streaming": {
"renderer": true,
"proxy": true
}
},
"config": {
"archetype": "classicbulb",
"function": "mixed",
"direction": "omnidirectional",
"startup": {
"mode": "custom",
"configured": true,
"customsettings": {
"bri": 185,
"xy": [0.4946, 0.3266]
}
}
},
"uniqueid": "00:17:88:01:08:36de6a-0b",
"swversion": "1.53.3_r27175",
"swconfigid": "297C5CDD",
"productid": "Philips-LCA001-5-A19ECLv6"
},
"_id": 18,
"id": 18
}
]
}

0 comments on commit 0ac255c

Please sign in to comment.