Skip to content

Commit

Permalink
Philips Hue: Fix GladysAssistant#940, add Smart PLug LOM001 (GladysAs…
Browse files Browse the repository at this point in the history
…sistant#941)

Co-authored-by: Pierre-Gilles Leymarie <pierregilles.leymarie@gmail.com>
  • Loading branch information
VonOx and Pierre-Gilles authored Nov 11, 2020
1 parent afb40fb commit 6a3cd2b
Show file tree
Hide file tree
Showing 2 changed files with 43 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 @@ -66,6 +66,7 @@ async function getLights() {
case 'LTA001': // Hue White E27 with Bluetooth
lightsToReturn.push(getPhilipsHueWhiteTemperatureLight(philipsHueLight, serialNumber, this.serviceId));
break;
case 'LOM001': // Hue Smart Plug On/Off
case 'LOM002': // Hue Smart Plug On/Off
case 'SP 120': // Innr Smart Plug On/Off
case 'Plug 01': // OSRAM Plug
Expand Down
42 changes: 42 additions & 0 deletions server/test/services/philips-hue/lights.json
Original file line number Diff line number Diff line change
Expand Up @@ -1733,6 +1733,48 @@
"_id": 34,
"id": 34,
"mappedColorGamut": "B"
},
{
"_rawData": {
"state": {
"on": false,
"alert": "select",
"mode": "homeautomation",
"reachable": true
},
"swupdate": {
"state": "noupdates",
"lastinstall": "2020-02-04T21:24:15"
},
"type": "On/Off plug-in unit",
"name": "Cuisine",
"modelid": "LOM001",
"manufacturername": "Signify Netherlands B.V.",
"productname": "Hue Smart plug",
"capabilities": {
"certified": true,
"control": {},
"streaming": {
"renderer": false,
"proxy": false
}
},
"config": {
"archetype": "plug",
"function": "functional",
"direction": "omnidirectional",
"startup": {
"mode": "safety",
"configured": true
}
},
"uniqueid": "00:17:88:01:08:04:12:af-0b",
"swversion": "1.65.9_hB3217DF",
"swconfigid": "A641B5AB",
"productid": "SmartPlug_OnOff_v01-00_01"
},
"_id": 35,
"id": 35
}
]
}

0 comments on commit 6a3cd2b

Please sign in to comment.