Skip to content

Commit

Permalink
Fix GladysAssistant#619 : Add LWB006 Philips Hue white lamp model (G…
Browse files Browse the repository at this point in the history
…ladysAssistant#621)

*  Fix GladysAssistant#619 : Add LWB006 Philips Hue white lamp model

* typofix
  • Loading branch information
hotfix31 authored and Pierre-Gilles committed Dec 3, 2019
1 parent 7a54db1 commit 7ed475f
Show file tree
Hide file tree
Showing 2 changed files with 36 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 @@ -42,6 +42,7 @@ async function getLights() {
lightsToReturn.push(getPhilipsHueColorLight(philipsHueLight, serialNumber, this.serviceId));
break;
case 'LWB010': // hue white bulb with fixed warming light (2700K)
case 'LWB006': // Hue white lamp
lightsToReturn.push(getPhilipsHueWhiteLight(philipsHueLight, serialNumber, this.serviceId));
break;
case 'LTW012': // hue White Ambiance E12
Expand Down
35 changes: 35 additions & 0 deletions server/test/services/philips-hue/lights.json
Original file line number Diff line number Diff line change
Expand Up @@ -683,6 +683,41 @@
},
"_id": 16,
"id": 16
},
{
"state": {
"on": true,
"bri": 254,
"alert": "select",
"mode": "homeautomation",
"reachable": false
},
"swupdate": {
"state": "noupdates",
"lastinstall": "2018-12-14T16:33:18"
},
"type": "Dimmable light",
"name": "Table à manger",
"modelid": "LWB006",
"manufacturername": "Philips",
"productname": "Hue white lamp",
"_rawData": {
"capabilities": {
"certified": true,
"control": { "mindimlevel": 2000, "maxlumen": 800 },
"streaming": { "renderer": false, "proxy": false }
},
"config": {
"archetype": "pendantround",
"function": "functional",
"direction": "omnidirectional",
"startup": { "mode": "safety", "configured": true }
},
"uniqueid": "00:17:88:01:10:40:cb:71-0b",
"swversion": "5.127.1.26420"
},
"_id": 17,
"id": 17
}
]
}

0 comments on commit 7ed475f

Please sign in to comment.