-
Can custom templates be used inside blueprints?
btw, currently secrets cannot.
Update 08.04.23: yes, macros may be used in blueprints. -
Currently the “custom_templates” folder seems to be located ONLY in “/config”. But many people have packages located in a separate folder like “/config/conf” (btw - blueprints MUST be located in “/config/blueprints” ). If custom templates CANNOT be used inside blueprints - then these people may want to keep this “custom_templates” folder inside that “conf folder”.
Update 08.04.23: these macros may be used in Lovelace & blueprints too, this makes them “universal” (i.e. not only related to “configuration”), so no need to place these macros inside some particular “conf folder”. -
Also, it would be great to have a possibility to organize “.jinja” files in folders inside that “custom_templates” folder.
Update 08.04.23: I may create 4 jinja-files for different needs (like “time_utils.jinja”, “lovelace_utils.jinja”), each file may contain plenty of macros - so there is no need to create subfolders. -
Also, calling “homeassistant.reload_custom_templates” service should be added here as a separate entry: