Unable to serialize to JSON

I have recently (after upgrade to 0.108) had a problem that the logfile grows extremely quickly. The following message is written to logfile at short intervals (approx. 20 MB per hour).

Does anyone have a similar problem? Any experience, what causes this behaviour?

Protokolldetails ( ERROR )

Logger: homeassistant.components.http.view
Source: components/http/view.py:120
Integration: http (documentation, issues)
First occurred: 13:25:56 (47 occurrences)
Last logged: 13:30:02

  • Unable to serialize to JSON: Object of type Template is not JSON serializable [<state sun.sun=above_horizon; … --> this message is going on for pages…

FYI:
You are not alone. Someone else has reported this issue in the Home Assistant Core repo:

I have it too

I have this issue too - but there seems to be no movement on it anywhere…

I opened a new issue on Github 34374:

https://github.com/home-assistant/core/issues/34374