homebridge-loxone-connect
homebridge-loxone-connect copied to clipboard
Add and remove moods.
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.
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.