Skip to content

Commit 44f3d28

Browse files
Clarify that deviceID can be a MAC address too
1 parent 22b9641 commit 44f3d28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ To automatically setup a battery sensor:
8282

8383
## Parameters
8484

85-
`<deviceID>` has format `RISEnnn` and cannot be changed
85+
`<deviceID>` has format `RISEnnn` or the device's MAC address in lowercase, with the colon's stripped out and cannot be changed
8686

8787
`<deviceName|slugified>` will be the device name (as configured in the app) with spaces replaced by underscores
8888

@@ -157,6 +157,6 @@ Response type: `Device` example:
157157

158158
## Parameters
159159

160-
`<deviceID>` has format `RISEnnn` and cannot be changed
160+
`<deviceID>` has format `RISEnnn` or the device's MAC address in lowercase, with the colon's stripped out and cannot be changed
161161

162162
`<position>` should be an integer between 0 (closed) and 100 (open)

0 commit comments

Comments
 (0)