File tree 1 file changed +15
-2
lines changed
1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -119,9 +119,22 @@ Wemo Insight Switch sent new power consumption data.
119
119
120
120
#### getEndDevices(cb)
121
121
122
- Get bulbs connected to a Wemo Bridge. An array of ` endDevices ` is passed to the callback.
122
+ Get bulbs connected to a Wemo Bridge. An ` endDeviceInfo ` for every device paired is passed to the callback in an array, e.g.:
123
+ ``` javascript
124
+ [{
125
+ friendlyName: ' Color Bulb' ,
126
+ deviceId: ' EA103EA2B2782FFF'
127
+ capabilities: {
128
+ ' 10006' : ' 1'
129
+ ' 10008' : ' 121:0'
130
+ },
131
+ deviceType: ' dimmableLight'
132
+ }]
133
+ ```
134
+
135
+ Device groups are treated as if they were single devices – a sole ` endDeviceInfo ` is returned per group.
123
136
124
- * ** Callback** * cb* cb(err, endDevices )
137
+ * ** Callback** * cb* cb(err, endDeviceInfos )
125
138
126
139
#### getBinaryState(cb)
127
140
You can’t perform that action at this time.
0 commit comments