Home Automation
Optimize your YAML automations using basic templating
If you're like me you probably started your Home Assistant automation journey by emulating or straight up copying some of the readily available example code in the Home Assistant documentation. You probably started off automating a lightbulb or switch using a simple trigger, maybe even a condition and