custom-components / pyscript

Pyscript adds rich Python scripting to HASS
Apache License 2.0
873 stars 46 forks source link

Excluding Pyscript from Logbook HA #613

Closed RamiRihawi closed 2 months ago

RamiRihawi commented 2 months ago

Anyway to exclude the pyscript logs from Recorder and logbook in home assistant? every 10 second and new execution is registered and this will flood the database. Pyscript

ALERTua commented 2 months ago

have you tried

logbook:
  exclude:
    domains:
      - pyscript

recorder:
  exclude:
    domains:
      - pyscript

?

RamiRihawi commented 2 months ago

have you tried

logbook:
  exclude:
    domains:
      - pyscript

recorder:
  exclude:
    domains:
      - pyscript

?

It worked.... Thank you

ALERTua commented 2 months ago

Glad it helped :) Please resolve this issue.