Skip to content

[Bug]: setStateDelayed schreibt auch nach skriptstop #2069

@BenAhrdt

Description

@BenAhrdt

I'm sure that

  • This issue is still present in the current beta version of this adapter
  • There is no other (open) issue with the same topic (use the search!)
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions