ioBroker.javascript
ioBroker.javascript copied to clipboard
[Bug]: setStateDelayed schreibt auch nach skriptstop
I'm sure that
- [x] This issue is still present in the current beta version of this adapter
- [x] There is no other (open) issue with the same topic (use the search!)
- [x] This issue is not described in the adapter documentation / FAQ (read the docs!)
Script type
javascript
The problem
Nutzt man setStateDelayed und stoppt das Skript, so wird der State trotzdem nach der eingetragen Zeit geschrieben.
Bspw.
`const idLifebit = '0_userdata.0.Lifebit'; const time = 2 * 1000;
setStateDelayed(idLifebit, true, true, time);`
iobroker.current.log (in debug mode!)
No response
Version of nodejs
22.21.0
Version of ioBroker js-controller
7.0.7
Version of adapter
9.0.11