no message
This commit is contained in:
@@ -444,7 +444,11 @@ class Ladestation_v2 extends IPSModule
|
|||||||
if ($this->GetValue("IsTimerActive")) {
|
if ($this->GetValue("IsTimerActive")) {
|
||||||
// Timer ist aktiv, PowerSteps setzen
|
// Timer ist aktiv, PowerSteps setzen
|
||||||
$this->SetValue("PowerSteps", json_encode([$this->GetValue("Aktuelle_Leistung")]));
|
$this->SetValue("PowerSteps", json_encode([$this->GetValue("Aktuelle_Leistung")]));
|
||||||
|
$this->SetValue("Leistung_Delta", $this->GetValue("Aktuelle_Leistung")-$this->GetValue("Ladeleistung_Effektiv"));
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
}else{
|
||||||
|
$this->SetValue("Leistung_Delta", 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Aktuelle Properties abrufen
|
// Aktuelle Properties abrufen
|
||||||
|
|||||||
Reference in New Issue
Block a user