Logger: "unsupported operand type(s) for +=: 'float' and 'datetime.timedelta'" when reloading template sensors (ALL template sensors broken!)

Is that really “me” or might this be due to an integration?

I searched for “timedelta” in Studio Code Server and could only find *.py files of integrations.

Interesting. Wondering what “has_value” does in detail (docs? → update: found at 2023.4: Custom template macros, and many more new entity dialogs! - Home Assistant) and why others implement that kind of “difficult” way then… @Sir_Goodenough Add availability template to the new template sensor helper - #3 by Sir_Goodenough.
→ edit: according to 2023.4: Custom template macros, and many more new entity dialogs! - Home Assistant has_value “only” filters unavailable and unknown - right? Is that really sufficient for an availability template?

Now back to topic.