We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 631b311 commit e556c85Copy full SHA for e556c85
1 file changed
README.md
@@ -40,11 +40,11 @@ oZDevices = oZWave.getDevices()
40
41
## Functions
42
43
-### getDevices()
+### `getDevices()`
44
45
Returns a list of zWave Devices as a JSON array
46
47
-### setDeviceCommand(deviceid, newcommand)
+### `setDeviceCommand(deviceid, newcommand)`
48
49
Sends a Command to a zWave Device
50
@@ -56,3 +56,17 @@ Sends a Command to a zWave Device
56
* toggleButton : on
57
58
**Returns** either 1 or 0 dependant on command being accepted
59
+
60
+### `getLocations`
61
62
+Returns a list of zWave Locations (Rooms) as a DICT list
63
64
+```python
65
+[
66
+ {
67
+ "id": 1,
68
+ "title": "Bedroom",
69
+ "main_sensors": []
70
+ }
71
+]
72
+```
0 commit comments