Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get Away Mode method added to API #4

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

rsocko
Copy link

@rsocko rsocko commented Aug 28, 2023

  • Added new method to aiophyn API to get away mode status
  • Added away mode details in the device dump sample

Away Mode data is returned from the Phyn API as part of the device preferences. It is returned as a dictionary in the following structure:

{ 'device_id': '1245341412', 'name': 'leak_sensitivity_away_mode', 'updated_ts': 1693192720990, 'value': 'false' }

this closes #3

rsocko added 3 commits August 28, 2023 18:12
Updated version to 2023.08.0 (from 2023.01.0) to try to correct requirement reference in install of custom integration in Home Assistant.
@Hedda
Copy link

Hedda commented Dec 31, 2023

FYI, it looks like jordanruthe has the most active fork(s) so might want to submit PR there to if wish to collaborate and consolidate:

https://github.com/jordanruthe/homeassistant-phyn -> https://github.com/jordanruthe/homeassistant-phyn/commits/dev/

https://github.com/jordanruthe/aiophyn -> https://github.com/jordanruthe/aiophyn/commits/dev/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add feature to retrieve 'Away Mode' from the device API
2 participants