I need your help - I want to parse use a timestamp which is the state of a String Item (my next alarm) as a timer.
However, I constantly struggle with types and I don’t understand why it doesn’t work:
Results in: 2017-02-09 08:47:30.714 [ERROR] [.script.engine.ScriptExecutionThread] - Rule 'set alarm': An error occured during the script execution: Could not invoke method: org.joda.time.base.AbstractDateTime.toString() on instance: Fri Feb 10 08:27:00 CET 2017
The time seems to be parsed correctly - can anyone tell me what I’m doing wrong?