init
commit
e2bec7304a
@ -0,0 +1,9 @@
|
|||||||
|
showFirmware();
|
||||||
|
stopScript("script.js.Shelly.ShowFirmware");
|
||||||
|
|
||||||
|
function showFirmware() {
|
||||||
|
$("[id=shelly.0.*.version]").each(function (id, i) {
|
||||||
|
let iid = id.padStart(50, "_"); // 'space' not shown in console..
|
||||||
|
log("id: " + iid + ": " + getState(id).val);
|
||||||
|
});
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue