Home Assistant YAML: Step-by-Step Guide to Splitting It!

Опубликовано: 26 Май 2026
на канале: Lazy Tech Geek
5,147
123

Managing your configuration.yaml can quickly get messy! In this guide, I'll show you how to cleanly split your YAML files using !include, !include_dir_merge_named, and !include_dir_merge_list.

🔹 Why split YAML?
✅ Keeps your Home Assistant setup organised & scalable
✅ Makes troubleshooting easier
✅ Helps prevent breaking changes when updating

🚀 By the end of this video, you'll learn how to: ✔️ Understand YAML lists vs. dictionaries
✔️ Use !include to split configuration files
✔️ Merge dictionaries & lists properly
✔️ Avoid common YAML mistakes
✔️ Utilise Packages for an even cleaner setup

00:00 – Intro
00:24 – Backups—DO THIS FIRST!
00:53 – Proxmox Backup (Optional but Recommended)
01:14 – Understanding YAML: Lists vs. Dictionaries
02:18 – Installing File Editor (Required for Editing YAML)
02:47 – Installing Studio Code Server (Optional, but Powerful)
04:00 – Overview: File Editor & Studio Code Server
06:23 – Exploring the Default configuration.yaml
07:03 – Using !include to Split Entities into Files
10:17 – Splitting Dictionaries with !include_dir_merge_named
14:54 – Splitting Lists with !include_dir_merge_list
17:43 – The Mistake I Made
18:08 – Using sensor split: & !include_dir_merge_list
20:03 – Packages Explained (Combining Multiple Entities)
24:43 – Outro – What’s Next?

🔧 Resources & Useful Links
📜 Home Assistant Docs on Splitting YAML:
🔗 https://www.home-assistant.io/docs/co...

🛠️ File Editor Add-on:
🔗 https://github.com/home-assistant/add...

🖥️ Studio Code Server Add-on:
🔗 https://github.com/hassio-addons/addo...

🎵 MUSIC USED IN THIS VIDEO
Intro Track: Powerful Action Rock Trailer
Artist: RocknStock
Source: Pixabay
Link: https://pixabay.com/users/rocknstock-...

💬 Got questions? Drop them in the comments! If this guide helped you, don’t forget to like & subscribe for more smart home & automation tutorials.

🔔 Subscribe for more:    / @lazytechgeek