diff --git a/Monitoring Server Influx V1/module.php b/Monitoring Server Influx V1/module.php index d48ce4c..d357ba9 100644 --- a/Monitoring Server Influx V1/module.php +++ b/Monitoring Server Influx V1/module.php @@ -390,7 +390,9 @@ class MonitoringServer extends IPSModule { $parname = IPS_GetName($catChild); IPS_SetName($catChild,$this->getTextAfterLastSlash($parname)); - IPS_SetVariableCustomProfile($catChild, "Alarm"); + foreach($catchild as $child){ + IPS_SetVariableCustomProfile($child, "Alarm"); + } } } diff --git a/library.json b/library.json index 2e5c091..162e52a 100644 --- a/library.json +++ b/library.json @@ -8,6 +8,6 @@ "date": 1491343200 }, "version": "1.7", - "build": 4, + "build": 5, "date": 0 } \ No newline at end of file