ioBroker.javascript icon indicating copy to clipboard operation
ioBroker.javascript copied to clipboard

[Bug]: setStateDelayed schreibt auch nach skriptstop

Open BenAhrdt opened this issue 1 month ago • 0 comments

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

BenAhrdt avatar Dec 04 '25 20:12 BenAhrdt