projects
/
smartthings-infrastructure.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fc661f
)
A little modification for location.mode.
author
rtrimana
<rtrimana@uci.edu>
Fri, 18 Oct 2019 18:11:54 +0000
(11:11 -0700)
committer
rtrimana
<rtrimana@uci.edu>
Fri, 18 Oct 2019 18:11:54 +0000
(11:11 -0700)
Location/LocationVar.groovy
patch
|
blob
|
history
diff --git
a/Location/LocationVar.groovy
b/Location/LocationVar.groovy
index e2cf09b65f50a6d30c7b34ba99ebc0292c83ea4b..88f34d6a4c0578be1766c8994900fbe2d30d9069 100755
(executable)
--- a/
Location/LocationVar.groovy
+++ b/
Location/LocationVar.groovy
@@
-59,9
+59,12
@@
class LocationVar {
} else if (sentMode == "away") {
this.mode = "away"
this.locationMode = "away"
- } else {
+ } else
if (sentMode == "night")
{
this.mode = "night"
this.locationMode = "night"
+ } else {
+ this.mode = sentMode
+ this.locationMode = sentMode
}
sendEvent(eventDataMap)
}