no message
This commit is contained in:
@@ -94,9 +94,9 @@
|
||||
"type": "NumberSpinner",
|
||||
"name": "UpdateInterval",
|
||||
"caption": "Neuberechnung alle",
|
||||
"suffix": "Minuten",
|
||||
"suffix": "Sekunden",
|
||||
"minimum": 0,
|
||||
"maximum": 1440
|
||||
"maximum": 86400
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -42,8 +42,8 @@ class Bat_EV_SDL_V2 extends IPSModule
|
||||
{
|
||||
parent::ApplyChanges();
|
||||
|
||||
$intervalMin = (int)$this->ReadPropertyInteger("UpdateInterval");
|
||||
$this->SetTimerInterval("UpdateTimer", ($intervalMin > 0) ? $intervalMin * 60 * 1000 : 0);
|
||||
$intervalSec = (int)$this->ReadPropertyInteger("UpdateInterval");
|
||||
$this->SetTimerInterval("UpdateTimer", ($intervalSec > 0) ? $intervalSec * 1000 : 0);
|
||||
|
||||
// Cache neu bauen (force)
|
||||
$this->BuildBatteryCache(true);
|
||||
|
||||
Reference in New Issue
Block a user