I have created a reasonably complicated binary sensor entity for a PWM dimmer
I now want to create 8 of these attached to different LEDC PWM output channels
Obviously I don’t want to copy/ maintain 8 copies of the code
It sounds like templating should enable me to do this but I am struggling to find worked examples of using templating to create multiple entities like I want to do
Funnily enough, I woke today with a different search query in my head that found the same Configuration Types article. “Packages as Templates” works perfectly
I logged in to post this solution but found your post