Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
krlaframboise committed Sep 7, 2017
1 parent 3e123b8 commit b24341d
Showing 1 changed file with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Zooz/Monoprice 4-in-1 Multisensor v1.4.1
* Zooz/Monoprice 4-in-1 Multisensor v1.4.2
* (Models: Zooz ZSE40, Monoprice P/N 15902)
*
* Author:
Expand All @@ -10,6 +10,9 @@
*
* Changelog:
*
* 1.4.2 (09/07/2017)
* - Fixed unsupported led option 4 setting getting resent to devices that don't support it.
*
* 1.4.1 (08/26/2017)
* - Fixed Wakeup interval bug.
*
Expand Down Expand Up @@ -326,7 +329,12 @@ private getCheckinIntervalChanged() {
}

private hasPendingChange(param) {
return (param.val != getParamStoredVal(param) || state.refreshAll)
if (isNewZoozDevice() || ledIndicatorModeParam.num != param.num || param.val != 4) {
return (param.val != getParamStoredVal(param) || state.refreshAll)
}
else {
log.warn "LED Indicator Mode #4 is only available in the Zooz device with firmware v16.9 and above."
}
}

// Required for HealthCheck Capability, but doesn't actually do anything because this device sleeps.
Expand Down

0 comments on commit b24341d

Please sign in to comment.