PV / Solar Excess Optimizer: Auto-control appliances (wallbox, dish washer, heatpump, ...) based on excess solar power

How to reduce pyscript_running entries in the database ?

Hello, my HA database weight increase a lot (30Gb) . So I started to look for a solution to decrease its size and I found this post:

Very interesting.
But when I check the database size with SQLite Web I get a lot of entries for pyscript_running.


I use pyscript only for PV solar excess optimizer.

I guess I’m not the only one in this case. How do you guys, manage to keep your database light?
Do you have any advices ?

EDIT:
I used this:

recorder:
  exclude:
    event_types:
      - pyscript_running