Closed simonssoftware closed 3 years ago
Wenn ich es richtig sehe muss die Zeile 105 der main.js angepasst werden:
adapter.setState(task.stateTime, {val: result.ms === null ? '-' : result.ms / 1000, ack: true});
ich würde vermuten besser wäre:
adapter.setState(task.stateTime, {val: result.ms === null ? 0 : result.ms / 1000, ack: true});
then "null" is the better value (so not as string but null). Adapter is only list will come to it soon :-)
fixed in next version
Describe the bug
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Do not set value '-' when device is not reachable.
Versions: