The free Sentry account allows 5000 events per month. Depending on the amount of events sent to Sentry you will either have to upgrade your Sentry account or have a period without data flowing from Home Assistant to Sentry.

The sentry integration integrates with Sentry to capture both logged errors as well as unhandled exceptions in Home Assistant.


To use the sentry integration in your installation, add the following to your configuration.yaml file:

# Example configuration.yaml entry

Then navigate to Configuration -> Integrations and add the DSN provided to you by Sentry where prompted.

Configuration Variables


The DSN provided to you by Sentry.


An environment name to associate with events.

Getting the DSN

Follow these steps to get the DSN:

  • Go to Projects.
  • Click Create project.
  • Fill out Give your project a name and choose Assign a Team fields and click Create project button.
  • Click Get your DSN link in top of the page.
  • Your DSN is now visible and looks like https://[email protected]/sdsdfsdf