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 support for returning bulb status #11

Open
denis-stepanov opened this issue Jan 5, 2019 · 1 comment
Open

Add support for returning bulb status #11

denis-stepanov opened this issue Jan 5, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@denis-stepanov
Copy link
Owner

On demand, show the current state of the bulb.

@denis-stepanov
Copy link
Owner Author

In v2.0.0 a method YBulb::getPower() was added, and the appropriate interface was implemented on the web. Still, it relies on the status returned from discovery + on the record of the switch's own operations. If the bulb is acted via some other channel, the status will be shown incorrectly. Maybe bulbs should be polled from time to time to sync their status.

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

No branches or pull requests

1 participant