forked from andrius/neohubapi
Add identify function.
This commit is contained in:
parent
fc9bc83b73
commit
5b590f577a
12
neohub.py
12
neohub.py
|
@ -334,3 +334,15 @@ class NeoHub:
|
|||
|
||||
result = await self._send(message, reply)
|
||||
return result
|
||||
|
||||
|
||||
async def identify(self):
|
||||
"""
|
||||
Flashes red LED light
|
||||
"""
|
||||
|
||||
message = {"IDENTIFY": 0}
|
||||
reply = {"result": "flashing led"}
|
||||
|
||||
result = await self._send(message, reply)
|
||||
return result
|
||||
|
|
Loading…
Reference in New Issue