Hello all,
I have a problem and I just can’t get ahead:
I would like to set a status text via KNX per notify - this also works wonderfully. However, this does not work from an automation.
{{ as_timestamp(states('sensor.dishwasher_remaining_program_time')) | timestamp_custom('%H:%M', false) }}
results:
20:08
But it does not work in automation:
service: notify.knx_kuche_status
data:
message: {{ as_timestamp(states('sensor.dishwasher_remaining_program_time')) | timestamp_custom('%H:%M', false) }}
results:
template value should be a string for dictionary value @ data[‘message’]. Got None
Do I have a thought error there?