no message

This commit is contained in:
2025-06-18 11:55:18 +02:00
parent 1a88308d45
commit e5078b04d6
2 changed files with 2 additions and 3 deletions

View File

@@ -36,7 +36,7 @@
document.getElementById('barGrid').style.width = data.consGrid + '%';
}
function handleMessage(msg) { Apply(msg); }
// Kein initialer requestAction nötig, weil GetVisualizationTile bereits Daten injiziert
// Kein requestAction-Aufruf hier nötig
</script>
</body>
</html>

View File

@@ -22,7 +22,7 @@ class PV_Visu extends IPSModule
}
/**
* Liefert das HTML-Template und injiziert initiale Daten per handleMessage
* Liefert das HTML-Template und injiziert initiale Tagesdaten
*/
public function GetVisualizationTile(): string
{
@@ -90,7 +90,6 @@ class PV_Visu extends IPSModule
*/
public function UpdateData(): void
{
// identisch zu GetVisualizationTile-Berechnung
$start = strtotime('today 00:00');
$end = time();