Home Assistant Automation Exporter
The Home Assistant Automation Exporter is a portable Windows tool that can be used to read a Home Assistant file automations.yaml and export it to individual YAML files.
This is helpful if automations are to be saved separately, passed on, documented or later imported back into Home Assistant individually.

Project
| Entry | Link |
|---|---|
| GitHub repository | rockbaer2007/ha-automation-exporter |
| Current Release | Download v0.3.4 |
| Platform | Windows |
| base | C# / .NET 9 |
Features
- Opens a Windows interface without a command line.
- Shows the program version in the window title.
- Reads a Home Assistant
automations.yaml. - Searches automations by alias, ID, filename or YAML content.
- Shows all automations in a table with selection fields.
- Opens detailed views with recognized entities and full YAML code.
- Exports selected automations as individual
.yamlfiles. - Opens the selected export folder directly in Windows Explorer.
- Stores settings portably next to the EXE in
HaAutomationExporter.settings.json.
Requirements
For use as a finished release:
- Windows
- Download the current release file from GitHub
For development or starting from source code:
- Windows
- .NET 9 SDK
- Repository cloned locally
dotnet run --project .\HaAutomationExporter.csprojService
- Start the program.
- Select the Home Assistant file
automations.yaml. - Optionally change the export folder in the settings.
- Select automations in the table.
- Check individual automations via
Details. - Export selected automations.
- Import the generated YAML files into Home Assistant if necessary.
Detailed view
In the detailed view, an automation can be checked before exporting. This is particularly useful when many automations have similar names or when you want to control templates and entities.

The Entities tab shows recognized Home Assistant entities with source, line number and context. Template hits are recognized heuristically.

The YAML tab shows the complete automation code and contains a copy function.
Export for Home Assistant
The exported files are prepared to make them easier to use individually in Home Assistant.
The exporter removes the leading top line id: and normalizes different YAML notations:
| exit | Export |
|---|---|
triggers | trigger |
conditions | condition |
actions | action |
- trigger: ... | - platform: ... |
| Service actions | - service: domain.service |
This allows automations from different Home Assistant versions, GitHub examples or forum posts to be exported more consistently.
Languages
The interface supports:
- system
- German
- English
- French
- Spanish
- Polish
- Russian
The System option detects the Windows language for de, en, fr, es, pl, and ru. System languages that are not supported fall back to English.
Command line
The project is built as a Windows application so that it starts without a console window. Arguments can still be processed internally.
HaAutomationExporter.exe C:\path\automations.yaml C:\path\export
HaAutomationExporter.exe C:\path\automations.yaml C:\path\export poolThe graphical interface is intended for normal use.
Notes
- Before importing into Home Assistant, each exported automation should be briefly checked.
- Automations with complex templates may require manual control.
- The original file
automations.yamlis only read and not changed. - The export folder should be outside of the productive Home Assistant configuration until the files are checked.
