Skip to content

Commit

Permalink
[BETA] v0.92b - Ready for testing
Browse files Browse the repository at this point in the history
Changes

* Removed initialization of battery UI tile because sending an event with a value of "--" seems to prevent a newly paired sensor from being added to the SmartThings device list in the "Classic" mobile app.
  • Loading branch information
veeceeoh authored Oct 26, 2018
1 parent 28004db commit 5e409bb
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -539,8 +539,6 @@ def refresh() {
state.sensitivity = 0
changeSensitivity()
}
if (device.currentValue('battery') == null)
sendEvent(name: 'battery', value: "--", isStateChange: true, displayed: false)
if (device.currentValue('tiltAngle') == null)
sendEvent(name: 'tiltAngle', value: "--", isStateChange: true, displayed: false)
if (device.currentValue('activityLevel') == null)
Expand Down

0 comments on commit 5e409bb

Please sign in to comment.