diff --git a/Apps/BathroomHumidityFan/BathroomHumidityChild.src b/Apps/BathroomHumidityFan/BathroomHumidityChild.src index d49c3a4..4bbb9bf 100644 --- a/Apps/BathroomHumidityFan/BathroomHumidityChild.src +++ b/Apps/BathroomHumidityFan/BathroomHumidityChild.src @@ -14,7 +14,7 @@ import groovy.transform.Field import hubitat.helper.RMUtils def setVersion() { - state.version = "1.1.36" // Version number of this app + state.version = "1.1.37" // Version number of this app state.InternalName = "BathroomHumidityFan" // this is the name used in the JSON file for this app } @@ -1055,9 +1055,9 @@ private timeIntervalLabel() { // Logging functions def turnOffLoggingTogglesIn30() { - if (isInfo == null) {app.updateSetting("isInfo",[value:"false",type:"bool"])} - if (isDebug == null) {app.updateSetting("isDebug",[value:"false",type:"bool"])} - if (isTrace == null) {app.updateSetting("isTrace",[value:"false",type:"bool"])} + if (!isInfo) {app.updateSetting("isInfo",[value:"false",type:"bool"])} + if (!isDebug) {app.updateSetting("isDebug",[value:"false",type:"bool"])} + if (!isTrace) {app.updateSetting("isTrace",[value:"false",type:"bool"])} if (isInfo == true) {runIn(1800, infoOff)} if (isDebug == true) {runIn(1800, debugOff)} if (isTrace == true) {runIn(1800, traceOff)}