Files
Symcon_Belevo_Energiemanage…/Energy_Pie/module.html
2025-12-17 08:42:17 +01:00

13 lines
349 B
HTML

<script>
// WICHTIG: global definieren
window.handleMessage = function (data) {
document.body.insertAdjacentHTML(
'beforeend',
`<pre style="margin-top:10px;">HANDLEMESSAGE:\n${JSON.stringify(data, null, 2)}</pre>`
);
};
// Beim Laden sofort Test anfordern
setTimeout(() => requestAction('Refresh', 1), 300);
</script>