Skip to content

Add state API command and improve API documentation#126

Open
ncovercash wants to merge 5 commits intoandrewshilliday:masterfrom
ncovercash:patch-1
Open

Add state API command and improve API documentation#126
ncovercash wants to merge 5 commits intoandrewshilliday:masterfrom
ncovercash:patch-1

Conversation

@ncovercash
Copy link
Contributor

No description provided.

This returns values consistent with the Home Accessory Protocol 9.30 Current Door State characteristic.
Forgot about that Python "uniqueness" 🙃
@ncovercash
Copy link
Contributor Author

Ok – now it actually works!

This was referenced Jun 23, 2020
@ncovercash
Copy link
Contributor Author

This fixes #86 and resolves #28 .

There should be a better way to do this since it seems like the web interface and API have separate instances of Door objects, therefore, opening/closing were not synced between them.  This is a bandaid fix but should work for most usage (as API users will mostly use API and web users mostly web, etc...)
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.

1 participant