Skip to content

Commit

Permalink
set numberOfButtons attribute for those smart apps that rely on this
Browse files Browse the repository at this point in the history
  • Loading branch information
DarwinsDen committed Mar 24, 2017
1 parent 7f4c859 commit 38923de
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@
*
* Changelog:
*
* 0.30 (11/20/2016) - Removed non-operational battery capability; was preventing device display on 2.2.2 mobile app
* 0.20 (08/02/2016) - Added preference option for allowed time between presses to eliminate duplicate notifications on some systems
* 0.10 (06/13/2016) - Initial 0.1 pre-beta Test Code
* 0.40 (03/23/2017) - set numberOfButtons attribute for those smart apps that rely on this
* 0.30 (11/20/2016) - Removed non-operational battery capability; was preventing device display on 2.2.2 mobile app
* 0.20 (08/02/2016) - Added preference option for allowed time between presses to eliminate duplicate notifications on some systems
* 0.10 (06/13/2016) - Initial 0.1 pre-beta Test Code
*
*/

Expand Down Expand Up @@ -242,6 +243,8 @@ def refresh() {
button1DisplayReset()
button2DisplayReset()

sendEvent(name: "numberOfButtons", value: 2, displayed: false)

setPrefs()

return refreshCmds + enrollResponse()
Expand Down

0 comments on commit 38923de

Please sign in to comment.