Macro import for Jinja templates

When using Jinja templates with many similiar sensors, you usually end up with large amount of same or similiar code over and over again and you have to copy/paste all over the place when making any modifications. I suggest adding the Macro import feature of Jinja would be a good idea or some similar method of importing macros into templates.

Added 2023.4

1 Like