Skip to content

Updated the event value and added numberOfButtons as per ST documentation - #2

Open
ady624 wants to merge 4 commits into
mjfsux:masterfrom
ady624:master
Open

Updated the event value and added numberOfButtons as per ST documentation#2
ady624 wants to merge 4 commits into
mjfsux:masterfrom
ady624:master

Conversation

@ady624

@ady624 ady624 commented Aug 9, 2016

Copy link
Copy Markdown

Documentation requires that the event value in case of a button push is "pushed". Original code sends "button X" instead. Button number is sent in the data Map, using the buttonNumber parameter. That was correctly implemented. Also added the numberOfButtons attribute.

Documentation here: http://docs.smartthings.com/en/latest/capabilities-reference.html#button

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant