projects
/
smartthings-infrastructure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Commenting out the Verify API calls in the object instantiation to avoid state explos...
[smartthings-infrastructure.git]
/
SleepSensor
/
SleepSensors.groovy
diff --git
a/SleepSensor/SleepSensors.groovy
b/SleepSensor/SleepSensors.groovy
index 9c49eb9bc0dfdc68d384c55ce9d4ee796d7130e5..32895c804919fcd27475f0d3539d24f227415268 100644
(file)
--- a/
SleepSensor/SleepSensors.groovy
+++ b/
SleepSensor/SleepSensors.groovy
@@
-22,12
+22,12
@@
public class SleepSensors {
this.deviceNumbers = deviceNumbers
this.sleepSensors = []
this.deviceNumbers = deviceNumbers
this.sleepSensors = []
- def init = Verify.getBoolean()
+
/*
def init = Verify.getBoolean()
if (init) {
this.sleeping = "sleeping"
} else {
this.sleeping = "not sleeping"
if (init) {
this.sleeping = "sleeping"
} else {
this.sleeping = "not sleeping"
- }
+ }
*/
sleepSensors.add(new SleepSensor(id, label, displayName, this.sleeping))
}
sleepSensors.add(new SleepSensor(id, label, displayName, this.sleeping))
}