Help understanding template switches

Petro and mf_social,
between the 2 of you, I now understand the purpose and function of the template switch. I hope that HA will incorporate your explanations into the “// Template Switch” help file. It would have saved myself and 123 much grief. I could not see the forest from the trees. Sooo simple…
When you said they are a “very niche use case”, that explained why there were so very few examples in the github. (Sorry mf_ social, I selected Petro as solved because he was first and I don’t think I can select both.)

123, thank you for your attempts. Your example with the open door and light is what threw me off. Now that I understand, I see what you were trying to show me. I just needed a fresh approach.

2 Likes