fix dashboard write #2693

This commit is contained in:
MichaelDvP
2025-10-27 11:08:04 +01:00
parent cec19860bc
commit 77e0b7d89c

View File

@@ -82,7 +82,7 @@ const Dashboard = memo(() => {
if (!selectedDashboardItem) {
return;
}
const id = selectedDashboardItem.id; // this is the parent ID
const id = selectedDashboardItem.parentNode.id; // this is the parent ID
await sendDeviceValue({ id, c: devicevalue.c ?? '', v: devicevalue.v })
.then(() => {
toast.success(LL.WRITE_CMD_SENT());