You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note I have taken a fork of the project to work on this feature. If there are any preferences (on the above) or process preferred for pull requests, etc. please let me know.
I have completed option 1 - added a new method to return the away_mode value.
This is returned as a dictionary that contains the last updated and set time stamp. Those attributes are exposed by the aiophyn interface as the return value.
Option 1:
return await self._request("get", f"{API_BASE}/preferences/device/{device_id}/leak_sensitivity_away_mode")
Option 2:
return await self._request("get", f"{API_BASE}/preferences/device/{device_id}")
For ease of debugging, add an update to the device_dump.py file to also output the data that is gathered either in option 1 or option 2.
It would also be possible to add both (a preferences dictionary + a directly accessible property getter method)
The text was updated successfully, but these errors were encountered: