Hi All, I’m experimenting with moods using the WebAPI and HomeyScript. When writing HomeyScript, there should be a method to trigger a mood, as you can see below.
However, when using the method, it says that ‘triggerMood’ is not a function. There is also zero documentation about it in the WebAPI documentation. That is strange, as the getMoods() method works just fine in the same manner as above, which is also not further documented.
The method to set a mood is setMood (found by using Object.getOwnPropertyNames(Homey.moods)), but HomeyScript doesn’t have the correct permissions to use it:
Setting a mood is of course a very dangerous action, which could cause all of your lights change color!
Athom prevents Homey owners from these kind of disasters for a reason!