Hm, I found this post:
And it says that the last_reset string needs to have the “+00:00” at the end, so, I’ll try it… I hope that the timezone taken into account because I’m actually UTC+2, so I changed the last_reset_value_template to:
last_reset_value_template: "{{ (as_datetime((value_json.last_reset | int | timestamp_utc)|string+'Z')).isoformat() }}"
and with that change, the last_reset time looks now like:
last_reset: 2021-08-20T22:00:00+00:00
if this doesn’t work, then maybe I need to have 2021-08-21T00:00:00+02:00 instead, but that will be tricky to get that depending on the current daylight-saving-state.
I’ll report tomorrow if it worked.