fix: Digitale Ausgänge Zustand , Name und Schalten mit neuer CPL Update

This commit is contained in:
ISA
2025-06-18 11:38:54 +02:00
parent 5f0577c004
commit c927c4d0cb
5 changed files with 8 additions and 6 deletions

View File

@@ -25,7 +25,9 @@ export default function DigitalOutputsWidget({ openOutputModal }) {
try {
if (isCPL) {
window.location.href = `/CPL?digitalOutputs.html&RC${id - 1}`;
window.location.href = `/CPL?digitalOutputs.html&DAS0${id}=${
updatedOutputs[id - 1].status ? 1 : 0
}`;
} else {
await fetch("/api/cpl/updateDigitalOutputsHandler", {
method: "POST",