Currently setting up a new Home Assistant instance and thinking about the organisation of my config files. Instead of splitting the configuration for different components such as switch , light etc. I thought about grouping items together using Home Assistant Packages.
As an example: A Ceiling Light package containing a light group and customise entry hiding the individual lights or a Plant package containing the individual sensor entries, a plant config and customise entry hiding the individual sensors.
Now my question is, will there be any (performance) limitations by doing so? For example light and switch components will be split out over many different package files. Will there be negative effects of these items not being loaded together?
I’m also curious to know if others have used a similar setup?
That’s the biggest issue for me with a pure packed-base setup.
Once I set up the switches, sensors, etc. I often start playing around with the automations until I get them right - so I started defining the ‘basics’ in a package and manage the automations separately so that I can simply reload them instead of having to restart HA completely.
I promised myself that I would move the automations into the packages once they are stable, but then again … maybe that’s something I start doing in 2019
Off-topic, but try switching to Node-RED for your automations! No need to reload automations at all anymore and a much more intuitive way of creating them.
Thanks - I thought about it a while ago but decided against it. It’s not the reloading of automations that’s bothering me, it’s the restarting of HA itself for (most) everything else.