homebridge-loxone-connect icon indicating copy to clipboard operation
homebridge-loxone-connect copied to clipboard

Add and remove moods.

Open bert-willekens opened this issue 2 years ago • 1 comments

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 avatar Aug 17 '22 20:08 bert-willekens

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.

bert-willekens avatar Aug 20 '22 20:08 bert-willekens