What is the best practice of breaking my configuration.yaml into multiple files so that I can manage things better? I’m going to have 30+ Zwave devices, 10+ IoT devices, and a whole lot of logic (30-50+ rules) to go with this. Over in a competitor’s system, you break all those things up into folders (items, rules, etc…) containing files (zwave.items, alarm.rules, etc…) defining items. This makes sense, since one file containing all of this would get unwieldy very quickly.
But I can’t find any docs on how to do this in HASS.
Also, do I have to actually fully stop and restart HASS to get it to re-read my configs? Will all my state information be lost?
Last question, how do I create create variable to save internal states, such as alarm/vacation modes?
Hmmm… can I then later query to see if a scene is on?
So for instance, if my phone rings, I want things to work differently when I’m in Movie scene than when I’m not.
Or when an inside motion detector fires, I want different rules depending on if my Alarm scene is on than when it is off.