diff --git a/Monitoring Server Influx V1/module.php b/Monitoring Server Influx V1/module.php index 5609c74..fef6ec6 100644 --- a/Monitoring Server Influx V1/module.php +++ b/Monitoring Server Influx V1/module.php @@ -291,7 +291,7 @@ class MonitoringServer extends IPSModule { $smname = IPS_GetName(IPS_GetParent($trigid))."_".IPS_GetName($trigid); - if (GetValueBoolean($trigid) == true && ($this->GetBuffer($smname) == "true")) { + if (GetValue($trigid) == true && ($this->GetBuffer($smname) == "true")) { $this->SetBuffer($smname, "false"); @@ -300,11 +300,11 @@ class MonitoringServer extends IPSModule { } - elseif (GetValueBoolean($trigid) == false) { + elseif (GetValue($trigid) == false) { $this->SetBuffer($smname, "true"); } - if (GetValueBoolean($trigid) == true){ + if (GetValue($trigid) == true){ return true; }else{ return false; diff --git a/library.json b/library.json index 79c8f25..c29943a 100644 --- a/library.json +++ b/library.json @@ -8,6 +8,6 @@ "date": 1491343200 }, "version": "1.6", - "build": 5, + "build": 6, "date": 0 } \ No newline at end of file