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

Add getter functions to the APIs #27

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Materdaddy
Copy link
Contributor

I didn't take the time to research if there's a better way than a full
query and loop to get a specific Did/Name information, but this
currently works.

I wanted to create an application that used this library to toggle a
bulb state without keeping my own state. I wanted to still be able to
use the phone app and not confuse the state in my pygop-enabled
application so querying the gateway state was a better solution.

I didn't take the time to research if there's a better way than a full
query and loop to get a specific Did/Name information, but this
currently works.

I wanted to create an application that used this library to toggle a
bulb state without keeping my own state.  I wanted to still be able to
use the phone app and not confuse the state in my pygop-enabled
application so querying the gateway state was a better solution.
Base automatically changed from master to main February 20, 2021 23:01
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