Cookiecutter project template for custom components

I’ve written several custom components and getting started requires creating quite a few files. To make things easier I’ve created a cookiecutter project template to do most of the work for you.

It will create all of the files and directories you need for submission to HACS and sets up your component to be unit tested.

6 Likes

Nice, I haven’t played with cookiecutter yet. But it could be the opportunity to test.
Is it linked to the blueprint template ?

I actually had not seen this blueprint before, so did not know it existed. It’s a similar idea, the cookiecutter template just fills in some information for you and conditionally creates some files and not others based on the answers to the prompts when running it.