Merge pull request #2694 from MichaelDvP/dev

fix dashboard write #2693
This commit is contained in:
Proddy
2025-10-27 17:07:05 +01:00
committed by GitHub

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());