In addition to SGās comments above, your ātemplateā has no template delimiters. Also, states are strings⦠and the states of input_datetime entities are datetime strings. Without conversion to either a timestamp or datetime object, subtracting them is a nonsense operation.
Hi,
ive tried a lot of different Versions now. i get things like āError rendering data template: UndefinedError: āstr objectā has no attribute āvalueāā or again āError rendering data template: Result is not a Dictionaryā. That means i read the values correct now and the calculations works now or not? But why did ha need/search a dictionary for setting a number? gefrierschrankoffenheutesek is defined as input.number!
btw: ha sets >- for a carriage return. In the link i didnāt find a solution or an explanation why ha wants a dictionary.