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

Reverse NightMode switch state in HomeKit #63

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

Conversation

leoneleone
Copy link

@leoneleone leoneleone commented Sep 2, 2018

@joe-ng
This is so NightMode switch behaves as an LED light in HomeKit.
DysonNightMode ON = HomeKit Fan LED light OFF

Its a far more logical approach for HomeKit. Siri Commands like "Turn of the lights" in a given room switch the Dyson nightMode to ON

Night Mode switch renamed LED. 
Reverse switch function so that it behaves like a normal light switch. Either the Fan LED is ON or OFF. This helps with Siri Commands like "Turn of all the lights". The Fan LED light then get put into "Night Mode" or an OFF setting. This approach is far more logical within the HomeKit ecosystem.
DysonNightMode ON = HomeKit Fan LED light OFF
@leoneleone
Copy link
Author

not sure if I was correct in reversing the nightMode functionality in DysonLinkDevice.js as well.
should I have left it the way it was?

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