Enable family mode
refresh locations now includes all devices associated with your family, not just the main account used.
This commit is contained in:
parent
abf6c0df17
commit
de51878a83
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ class FindMyiPhoneServiceManager(object):
|
|||
"""
|
||||
host = self._service_root.split('//')[1].split(':')[0]
|
||||
self.session.headers.update({'host': host})
|
||||
req = self.session.post(self._fmip_refresh_url, params=self.params)
|
||||
req = self.session.post(self._fmip_refresh_url, params=self.params, data='{"clientContext":{"fmly":true,"shouldLocate":true,"selectedDevice":"all"}}')
|
||||
self.response = req.json()
|
||||
|
||||
for device_info in self.response['content']:
|
||||
|
|
Loading…
Reference in a new issue