How to organize home assistant configuration files?
How to organize home assistant configuration files?
Table of Contents
Keep configuration.yaml clean – only include high-level includes and global settings.
Use !include and !include_dir_* to split configuration into folders.
Separate per-domain (e.g. lights, sensors, automations) or per-room.
Use YAML anchors & secrets to avoid repetition and store sensitive data safely.
Version control with Git for backups and change tracking. git series detail
Home assistant Configuration Files Folder Structure
/config/
│
├── configuration.yaml
├── secrets.yaml
├── automations.yaml
├── scripts.yaml
├── scenes.yaml
│
├── customize.yaml
│
├── packages/
│ ├── living_room.yaml
│ ├── bedroom.yaml
│ ├── vacuum.yaml
│ └── system_monitor.yaml
│
├── sensors/
│ ├── weather.yaml
│ ├── power.yaml
│ └── network.yaml
│
├── binary_sensors/
│ ├── motion.yaml
│ └── doors.yaml
│
├── includes/
│ ├── groups.yaml
│ ├── input_booleans.yaml
│ ├── input_numbers.yaml
│ ├── mqtt.yaml
│ └── rest.yaml
│
└── www/
└── custom_ui/
Comments
Be the first to post a comment