Skip to content

Commit

Permalink
Corrected advertised number of buttons (8)
Browse files Browse the repository at this point in the history
  • Loading branch information
DarwinsDen committed Jan 17, 2017
1 parent b925539 commit 7f4c859
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion devicetypes/darwinsden/wd100-dimmer.src/wd100-dimmer.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
*
* Changelog:
*
* 1.01 (01/16/2017) - Corrected advertised number of buttons (8)
* 1.00 (01/14/2017) - Added button 7 (single tap up) and button 8 (single tap down). Added double down to 25% dim level option.
* 0.17 (10/05/2016) - Added single-tap-up to full brightness option.
* 0.16 (09/24/2016) - Added double-tap-up to full brightness option and support for firmware dim rate configuration parameters.
Expand Down Expand Up @@ -470,7 +471,7 @@ def setFirmwareVersion() {
def configure() {
log.debug ("configure() called")

sendEvent(name: "numberOfButtons", value: 6, displayed: false)
sendEvent(name: "numberOfButtons", value: 8, displayed: false)
def commands = []
commands << setDimRatePrefs()
commands << zwave.switchMultilevelV1.switchMultilevelGet().format()
Expand Down
3 changes: 2 additions & 1 deletion devicetypes/darwinsden/ws100-switch.src/ws100-switch.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
*
* Changelog:
*
* 1.01 (01/16/2017) - Corrected advertised number of buttons (8)
* 1.00 (01/14/2017) - Added button 7 (single tap up) and button 8 (single tap down). Added firmware version display.
* 0.12 (06/03/2016) - Added press type indicator to display last tap/hold press status
* 0.11 (05/28/2016) - Set numberOfButtons attribute for ease of use with CoRE and other SmartApps. Corrected physical/digital states.
Expand Down Expand Up @@ -401,7 +402,7 @@ def holdDown() {
}

def configure() {
sendEvent(name: "numberOfButtons", value: 6, displayed: false)
sendEvent(name: "numberOfButtons", value: 8, displayed: false)
def commands = []
commands << zwave.manufacturerSpecificV1.manufacturerSpecificGet().format()
commands << zwave.versionV1.versionGet().format()
Expand Down

0 comments on commit 7f4c859

Please sign in to comment.