nsheldon wrote:I thought I updated it. Sorry. I’ll try to sync that soon. I don’t use GitHub often.
No problem. I took a stab at it, and issued a PR against your repo.
Instead of modifying
recallScene as I mentioned, it seemed like the most logical choice was to added a new action (actually, two) to the
Hue Group device type. Actually, this sounds completely unrelated to my original request, but the purpose of the original request was to be able to use
recallScene in an action script in order to accomplish exactly what the pull request does: make it simple to cycle through the scenes already installed on the hub. This seems nice, because now I can share it and give it a nice UI rather than write more Python for everything. I think others might find neat uses for this, too.
Currently, the action doesn't discriminate against the owner, only against the correct group members.
Also, first time working with Python other than basic action scripts. Not sure how good my application of the language art is, but it technically works!