mirror of
https://github.com/no2chem/wideq.git
synced 2025-05-28 04:50:23 -07:00
Docstring
This commit is contained in:
parent
2083357165
commit
0dde92b241
6
wideq.py
6
wideq.py
@ -279,10 +279,16 @@ class Session(object):
|
||||
This is like `lgedm_post`, but it pulls the context for the
|
||||
request from an active Session.
|
||||
"""
|
||||
|
||||
url = urljoin(self.auth.gateway.api_root + '/', path)
|
||||
return lgedm_post(url, data, self.auth.access_token, self.session_id)
|
||||
|
||||
def get_devices(self):
|
||||
"""Get a list of devices associated with the user's account.
|
||||
|
||||
Return a list of dicts with information about the devices.
|
||||
"""
|
||||
|
||||
return self.post('device/deviceList')['item']
|
||||
|
||||
def monitor_start(self, device_id):
|
||||
|
Loading…
x
Reference in New Issue
Block a user