mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-06-15 12:26:33 +03:00
add comment
This commit is contained in:
@@ -88,7 +88,7 @@ const Dashboard = memo(() => {
|
|||||||
if (!selectedDashboardItem) {
|
if (!selectedDashboardItem) {
|
||||||
return;
|
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) {
|
if (devicevalue.v !== undefined) {
|
||||||
const id = selectedDashboardItem.parentNode.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 });
|
await sendDeviceValue({ id, c: devicevalue.c ?? '', v: devicevalue.v });
|
||||||
|
|||||||
Reference in New Issue
Block a user