add comment

This commit is contained in:
proddy
2026-06-07 14:40:18 +02:00
parent 511f5c1681
commit f3e4040d72

View File

@@ -88,7 +88,7 @@ const Dashboard = memo(() => {
if (!selectedDashboardItem) {
return;
}
// skip if we're executing an immediate schedule
// skip if we're executing an immediate schedule as this is handled in DevicesDialog::doAction()
if (devicevalue.v !== undefined) {
const id = selectedDashboardItem.parentNode.id; // this is the parent ID
await sendDeviceValue({ id, c: devicevalue.c ?? '', v: devicevalue.v });