Break up configuration.yaml into multiple files

I am trying to build the alarm clock which is described in the link below. From what I see I will use several of those. As it consists of several elements I would love to separate all the necessary components and automations into a alarmclock.yaml file. However, this would mean that I would need several component blocks, e.g. input_boolean and automation blocks. This seems not to be supported by home assistant (the check config says it is valid, but when I restart it would not run).

Is there any way to achieve this in one way or another? It would be great to have something more or less reusable without cluttering the main configuration.yaml.

https://community.home-assistant.io/t/creating-an-alarm-clock-updated/15195

Have a look at packages - they may be exactly what you’re after.

2 Likes

This look indeed very much like what I am after. I will check it out! Thanks!