Skip to content

Commit 083425d

Browse files
committed
Update docs
1 parent af8f263 commit 083425d

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

docs/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
* [openWebSocket](available-methods/openwebsocket.md)
1212
* [getDevice](available-methods/getdevice.md)
1313
* [getDevices](available-methods/getdevices.md)
14+
* [getHomepage](available-methods/gethomepage.md)
1415
* [getDevicePowerState](available-methods/getdevicepowerstate.md)
1516
* [setDevicePowerState](available-methods/setdevicepowerstate.md)
1617
* [getWSDevicePowerState](available-methods/getwsdevicepowerstate.md)
@@ -25,4 +26,4 @@
2526
* [getFirmwareVersion](available-methods/getfirmwareversion.md)
2627
* [saveDevicesCache](available-methods/savedevicescache.md)
2728
* [Zeroconf (LAN mode)](zeroconf.md)
28-
* [Testing](testing.md)
29+
* [Testing](testing.md)
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# getDevices
2+
3+
Get "homepage", which includes information about all scenes and registered devices
4+
5+
6+
### Usage
7+
```
8+
/* get homepage */
9+
const data = await connection.getHomepage();
10+
console.log(data);
11+
```
12+
13+
<sup>* _Remember to instantiate class before use_</sup>

0 commit comments

Comments
 (0)