bug fixes

This commit is contained in:
znetsixe
2025-11-30 09:24:18 +01:00
parent 052ded7b6e
commit 955c17a466
2 changed files with 503 additions and 879 deletions

View File

@@ -228,7 +228,7 @@ class nodeClass {
case 'q_in': {
// payload can be number or { value, unit, timestamp }
const val = Number(msg.payload);
const unit = msg?.unit || 'l/s';
const unit = msg?.unit;
const ts = msg?.timestamp || Date.now();
this.source.setManualInflow(val, ts, unit);
break;

File diff suppressed because it is too large Load Diff