explaingit

ro53ben/ha-trace-manager

Analysis updated 2026-05-18

1PythonAudience · generalComplexity · 2/5Setup · easy

TLDR

HA Trace Manager is a Home Assistant add-on that lets you bulk-change how many debug traces automations and scripts keep, without editing YAML by hand.

Mindmap

mindmap
  root((HA Trace Manager))
    What it does
      Sets stored trace counts
      Bulk edit by room or label
      No manual YAML editing
    Tech stack
      Python
      Home Assistant
      HACS
    Use cases
      Increase debugging on one automation
      Bulk update traces by room
      Bulk update traces by label
    Audience
      Home Assistant users

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Increase the number of stored debug traces for a specific automation without editing YAML.

USE CASE 2

Set trace counts for every automation or script in one room at once.

USE CASE 3

Set trace counts for every automation or script sharing a specific label.

What is it built with?

PythonHome AssistantHACS

How does it compare?

ro53ben/ha-trace-manager0xustaz/streamgatea-bissell/unleash-lite
Stars111
LanguagePythonPythonPython
Setup difficultyeasyhardhard
Complexity2/54/54/5
Audiencegeneraldeveloperresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Install via HACS or manually into custom_components, then restart Home Assistant, no extra configuration needed.

In plain English

HA Trace Manager is an add-on for Home Assistant, the popular open-source home automation platform. It solves a small but annoying problem: Home Assistant keeps a limited number of debug traces for each automation or script, and normally you have to edit each entity's configuration file by hand to change how many traces it keeps. With this integration installed, you instead go to the Developer Tools section of Home Assistant, open Actions, and choose an option called Set Stored Traces. From there you pick one or more automations or scripts, set the number of traces you want kept, and run the action. The integration then updates the underlying configuration for each selected entity automatically, so you no longer need to open and edit files one at a time. You are not limited to picking entities individually. The tool also lets you change the trace count for every automation or script in a specific room, or for every automation or script that shares a particular label, which is useful if you want to consistently increase debugging detail across a group of related automations at once. Installation is done through HACS, the Home Assistant Community Store, by adding this repository as a custom repository and then installing Trace Manager from there, followed by restarting Home Assistant and adding it as an integration through Settings. It can also be installed manually by copying the custom_components folder into your Home Assistant configuration directory and restarting. Once installed, there is no additional setup required. You simply go to Developer Tools, then Actions, and select Set Stored Traces to start using it. The README does not state a license, so the terms under which this project can be reused are not specified.

Copy-paste prompts

Prompt 1
Walk me through installing HA Trace Manager via HACS in Home Assistant.
Prompt 2
Explain how the Set Stored Traces action works and what options it offers.
Prompt 3
How do I install this manually by copying files into custom_components?
Prompt 4
What's the difference between setting traces per entity versus per room or label?

Frequently asked questions

What is ha-trace-manager?

HA Trace Manager is a Home Assistant add-on that lets you bulk-change how many debug traces automations and scripts keep, without editing YAML by hand.

What language is ha-trace-manager written in?

Mainly Python. The stack also includes Python, Home Assistant, HACS.

How hard is ha-trace-manager to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is ha-trace-manager for?

Mainly general.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.