Hi
I try to get a historicState from a Window Sensor. But I always get a “CLOSED” value, even if i remove all CLOSED (0) Values from database.
I used historicState successfully on other (Number) Items.
Log:
2021-02-13 09:40:07.823 [INFO ] [hab.core.model.script.Fensterwarnung] - HistState vor if CLOSED
2021-02-13 09:40:07.887 [INFO ] [hab.core.model.script.Fensterwarnung] - HistState vor if CLOSED
2021-02-13 09:40:07.904 [INFO ] [hab.core.model.script.Fensterwarnung] - HistState vor if CLOSED
2021-02-13 09:40:07.920 [INFO ] [hab.core.model.script.Fensterwarnung] - HistState vor if CLOSED
2021-02-13 09:40:07.938 [INFO ] [hab.core.model.script.Fensterwarnung] - HistState vor if CLOSED
2021-02-13 09:40:07.958 [ERROR] [internal.handler.ScriptActionHandler] - Script execution of rule with UID ‘test-1’ failed: Cannot format given Object as a Date in test