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 and remove moods. #27

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

Conversation

bert-willekens
Copy link
Contributor

I have a lot of open spaces where I combine multiple activated moods. Mood functionality using the API functions addMood and removeMood would improve my user experience a lot.

I am aware that this piece of code is not production worthy.
Ideally there should be a configuration setting introduced to enable and disable this behavior.

@bert-willekens
Copy link
Contributor Author

Initial testing worked great. Also 'multiple moods' is displayed in the app.

One issue I noticed is that selecting the 'Off' mood does not work. Only 'unselecting' the enabled moods enables the Off mood.
For me not a big issue as I don´t like the 'Off´ mood anyway. When asking Siri to dim all lights in a room the Off mood gets enabled.

This can probably be resolved with an If statement and using 'changeTo' Off.

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