X-Git-Url: http://plrg.eecs.uci.edu/git/?p=smartthings-infrastructure.git;a=blobdiff_plain;f=SmokeDetector%2FSmokeDetectors.groovy;h=2c09a20b43326b9a933dacf4634601733bd742f3;hp=768f53acb1ed9e1e7c77ba67b2022bc00339c9e6;hb=84ff0e56ddbcdad6ab216f25a9102e58e3f80a88;hpb=4fba2a38e9f917aadf91639ed04e1d2338fa2b34 diff --git a/SmokeDetector/SmokeDetectors.groovy b/SmokeDetector/SmokeDetectors.groovy index 768f53a..2c09a20 100644 --- a/SmokeDetector/SmokeDetectors.groovy +++ b/SmokeDetector/SmokeDetectors.groovy @@ -21,6 +21,7 @@ public class SmokeDetectors { private String currentCarbonMonoxideValue = "clear" private String carbonMonoxideLatestValue = "clear" private int battery = 50 + private int batteryValue = 50 private int batteryLatestValue = 50