Add substitutions to HA like in ESPhome

I love the ability to use substitutions in ESPhome. It enables me to create templates for config files, and to change the basic parameters.

Now that ESPhome is becoming a part of HA it would be a bliss if this functionality would be included ‘system-wide’!