diff --git a/Ladestation_v2/module.php b/Ladestation_v2/module.php index 873d3cb..8105c37 100644 --- a/Ladestation_v2/module.php +++ b/Ladestation_v2/module.php @@ -97,7 +97,7 @@ class Ladestation_v2 extends IPSModule $this->SetTimerInterval("Timer_Do_UserCalc_EVC",$this->ReadPropertyInteger("Interval")*1000); // erstelle einen Timer der das Request token aktualisiert wenn die station dies braucht. - if($carType==6){ + if($this->ReadPropertyInteger("Ladestation")==6){ $this->Refresh_Token(); $this->SetTimerInterval("Timer_Refresh_Token",1800);