Managing Home Assistant Config From GitHub

Recently I wanted to do some refactoring of my collection of automations in Home Assistant which have grown and changed in various ways over the years and needed some TLC, including modernizing the structure like triggers:, actions:, and other syntax changes, as well as consolidating and simplifying some similar triggers across multiple automations, for example creating a “Home Mode” concept.…