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

fan: Ability to disable delayed turn off functionality #741

Merged
merged 3 commits into from
Jun 30, 2020

Conversation

insajd
Copy link
Contributor

@insajd insajd commented Jun 30, 2020

When 0 is passed, delay turn off is disabled. Before this, if delay off was set, it could not be unset.

When 0 is passed, delay turn off is disabled. Before this, if delay off was set, it could not be unset.
@rytilahti
Copy link
Owner

LGTM after the tests pass. What do you think @syssi?

@syssi
Copy link
Collaborator

syssi commented Jun 30, 2020

The tests should be updated, too.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 73.938% when pulling 41356a5 on insajd:patch-2 into c6702ad on rytilahti:master.

@rytilahti rytilahti changed the title Ability to disable delayed turn off functionality fan: Ability to disable delayed turn off functionality Jun 30, 2020
@rytilahti rytilahti merged commit 1bb5113 into rytilahti:master Jun 30, 2020
@insajd
Copy link
Contributor Author

insajd commented Jun 30, 2020

Thanks guys!

@insajd insajd deleted the patch-2 branch June 30, 2020 20:22
xvlady pushed a commit to xvlady/python-miio that referenced this pull request May 9, 2021
* Added ability to disable delayed turn off functionality

When 0 is passed, delay turn off is disabled. Before this, if delay off was set, it could not be unset.

* Update test_fan.py

* Update test_fan.py
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.

4 participants