MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / card

Function card

web/scripts/ragnar_modern.js:1435–1439  ·  view source on GitHub ↗
(label, val, unit)

Source from the content-addressed store, hash-verified

1433 else { if (_wifiState.data) _wifiDrawSpectrum(); }
1434 });
1435 // Zigbee overlay toggle (gated on a Huginn companion being present)
1436 const zbChk = document.getElementById('wifi-zb');
1437 if (zbChk) zbChk.addEventListener('change', (e) => {
1438 if (zbChk.disabled) { e.target.checked = false; return; }
1439 _wifiState.zbOn = e.target.checked;
1440 const panel = document.getElementById('wifi-zb-panel');
1441 if (panel) panel.classList.toggle('hidden', !_wifiState.zbOn);
1442 if (_wifiState.zbOn) wifiZbScan();

Callers 2

runSpeedtestFunction · 0.85
runIperfFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected