Minor update to "Photo Burst When" to add button support


(John) #1

I wanted to trigger a photo burst when a button was pressed, and was surprised to find it didn’t support buttons. I made this minor change and am just creating this thread in case anyone else wants something like this. I submitted a pull request for this change but I have no idea if it will be accepted.

I added separate selectors for pushed and held buttons.

Install this via Github integration and then look for add a new SmartApp from “My Apps”: “Photo Burst When”
(instead of the original one under “More”)

user=loverso / repo=SmartThingsPublic / branch=photo-burst-button

Or copy-and-paste this to “New SmartApp” via “From Code” (but you really want to use Github integration).