How to create Lovelace templates?

Hi Guys -

I’m trying to understand how to create lovelace templates. Can some one show me if you have done it or point me in the correct direction please?

I came across a wonderful documentation on ‘Chores in HA’ and was grateful to get the code from the github user ‘burningstone’ from his GitHub page. Here’s a screenshot from his GitHub page that I’m not able to understand.

When i tried to copy his code from to ‘chores.yaml’ I’m getting the following error. Not sure if this is the correct way to create a template. FYI, I’ve installed lovevlace_gen as suggested in ‘burningstone’s’ GitHub page.

Any help is greatly appreciated.

“The template require lovelace_gen”.

No clue what that is, but you need it.

https://github.com/thomasloven/hass-lovelace_gen

Best, JR

Thank you guys. I was aware that I needed to install lovelace_gen. Couldn’t figure out how to make it work after that. Appreciate you for taking a look at it.