no message
This commit is contained in:
@@ -741,15 +741,19 @@ class Ladestation_v2 extends IPSModule
|
||||
IPS_LogMessage("asdf2", "asdf2". $this->GetValue("Power"));
|
||||
IPS_LogMessage("asdf3", "asdf1". ($this->GetValue("Power")==max(json_decode($this->GetValue("PowerSteps")))));
|
||||
IPS_LogMessage("asdf4", "asdf1". (((int)(max(json_decode($this->GetValue("PowerSteps"))))==((int)$this->GetValue("Power")))&&((max(json_decode($this->GetValue("PowerSteps")))>0))));
|
||||
|
||||
if((((max(json_decode($this->GetValue("PowerSteps"))))==($this->GetValue("Power")))&&((max(json_decode($this->GetValue("PowerSteps")))>0)))){
|
||||
IPS_LogMessage("asdf5", "asdf5". (((int)(max(json_decode($this->GetValue("PowerSteps"))))==((int)$this->GetValue("Power")))&&((max(json_decode($this->GetValue("PowerSteps")))>0))));
|
||||
if((max(json_decode($this->GetValue("PowerSteps")))) >0){
|
||||
IPS_LogMessage("asdf5", "asdf5". (((int)(max(json_decode($this->GetValue("PowerSteps"))))==((int)$this->GetValue("Power")))&&((max(json_decode($this->GetValue("PowerSteps")))>0))));
|
||||
|
||||
$this->Calc_Max_Current($this->GetValue("Is_1_ph"));
|
||||
IPS_LogMessage("asdf5", "asdf5". (((int)(max(json_decode($this->GetValue("PowerSteps"))))==((int)$this->GetValue("Power")))&&((max(json_decode($this->GetValue("PowerSteps")))>0))));
|
||||
if( (max(json_decode($this->GetValue("PowerSteps")))) == ($this->GetValue("Power") )) {
|
||||
|
||||
$this->Calc_Max_Current($this->GetValue("Is_1_ph"));
|
||||
IPS_LogMessage("asdf6", "asdf6". (((int)(max(json_decode($this->GetValue("PowerSteps"))))==((int)$this->GetValue("Power")))&&((max(json_decode($this->GetValue("PowerSteps")))>0))));
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return $powerSteps;
|
||||
|
||||
Reference in New Issue
Block a user