no message
This commit is contained in:
@@ -194,12 +194,6 @@ class PV_Forecast_plotmemory extends IPSModule
|
||||
|
||||
public function GetVisualizationTile(): string
|
||||
{
|
||||
// Strict daily mode: do NOT fetch from URL when tile is opened.
|
||||
// If you really want this fallback, enable AllowTileFetchIfEmpty.
|
||||
if ($this->GetBuffer("ForecastRaw") === "" && $this->ReadPropertyBoolean("AllowTileFetchIfEmpty")) {
|
||||
$this->UpdateForecast();
|
||||
}
|
||||
|
||||
$html = file_get_contents(__DIR__ . "/module.html");
|
||||
$html = str_replace("{{INSTANCE_ID}}", (string)$this->InstanceID, $html);
|
||||
return $html;
|
||||
|
||||
Reference in New Issue
Block a user