fehler
This commit is contained in:
@@ -33,7 +33,9 @@ class Verbraucher_1_Stufig extends IPSModule {
|
|||||||
$this->RegisterPropertyInteger("Schaltkontakt1", 0);
|
$this->RegisterPropertyInteger("Schaltkontakt1", 0);
|
||||||
|
|
||||||
// Timer für Zeit_Zwischen_Zustandswechseln
|
// Timer für Zeit_Zwischen_Zustandswechseln
|
||||||
$this->RegisterTimer("ZustandswechselTimer", 0, 'Verbraucher_1_Stufig_ResetPowerSteps($_IPS[\'TARGET\']);');
|
$this->RegisterTimer("ZustandswechselTimer", 0, 'IPS_RequestAction(' . $this->InstanceID . ', "ResetPowerSteps", "");');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//Initialisieren
|
//Initialisieren
|
||||||
$this->SetValue("Idle", true);
|
$this->SetValue("Idle", true);
|
||||||
@@ -51,6 +53,10 @@ class Verbraucher_1_Stufig extends IPSModule {
|
|||||||
break;
|
break;
|
||||||
case "GetCurrentData":
|
case "GetCurrentData":
|
||||||
return $this->GetCurrentData($Value);
|
return $this->GetCurrentData($Value);
|
||||||
|
break;
|
||||||
|
case "ResetPowerSteps":
|
||||||
|
$this->ResetPowerSteps($Value);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
throw new Exception("Invalid Ident");
|
throw new Exception("Invalid Ident");
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -6,7 +6,7 @@
|
|||||||
"compatibility": {
|
"compatibility": {
|
||||||
"version": "7.1"
|
"version": "7.1"
|
||||||
},
|
},
|
||||||
"version": "0.18",
|
"version": "0.19",
|
||||||
"build": 0,
|
"build": 0,
|
||||||
"date": 0
|
"date": 0
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user