projects
/
smartapps.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10d6e93
)
Update thermostat.groovy
author
Seyed Amir Hossein Aqajari
<amiraj.95@uci.edu>
Fri, 8 Nov 2019 02:27:41 +0000
(18:27 -0800)
committer
GitHub Enterprise
<noreply@github.uci.edu>
Fri, 8 Nov 2019 02:27:41 +0000
(18:27 -0800)
official/thermostat.groovy
patch
|
blob
|
history
diff --git
a/official/thermostat.groovy
b/official/thermostat.groovy
index 88dd5660c0ce00ca4583ad52a61a915a0182d248..058a66b2438c0ed6fc5adbbedb6762504a031ad5 100644
(file)
--- a/
official/thermostat.groovy
+++ b/
official/thermostat.groovy
@@
-85,7
+85,7
@@
def subscribeToEvents() {
def eventHandler1(evt) {
log.debug "Notify got evt ${evt}"
// Turn off thermostat
- thermostatDevices
*
.setThermostatMode("off")
+ thermostatDevices.setThermostatMode("off")
if (frequency) {
def lastTime = state[evt.deviceId]
if (lastTime == null || now() - lastTime >= frequency * 60000) {