2,953 views
In this video we look at the topic of templating and how to use it effectively ▶ Discord: / discord ---------------------------------------------------------------------------------------- My video courses ????????: ▶ KNX - Home Assistant Primer: https://www.udemy.com/course/knx-home... ▶ KNX/ETS Primer: https://www.udemy.com/course/knx-ets-... ▶ Dali Primer: https://www.udemy.com/course/dali-fib... ▶ Modbus Primer: https://www.udemy.com/course/modbus-f... ---------------------------------------------------------------------------------------- I use these products for my automation Tasmota devices: ▶ Nous A1T socket on Amazon: https://amzn.to/3OXG2V2 (affiliate link *) ▶ Electricity meter reading head kit: https://amzn.to/3L3w6YS (Affiliate link *) ▶ All-in-one electricity meter reading head: https://amzn.to/3qSLTmF (Affiliate link *) Zigbee devices: ▶ Sonoff Zigbee Gateway Stick on Amazon: https://amzn.to/3rtZpgZ (Affiliate link *) ▶ Sonoff Zigbee Bridge Pro on Amazon: https://amzn.to/3F0kuTc (Affiliate link *) ▶ Sonoff Zigbee motion detector on Amazon: https://amzn.to/3rBgF3I (Affiliate link *) ▶ Sonoff Zigbee button on Amazon: https://amzn.to/3rz0UKP (Affiliate link *) Server: ▶ Synology DS923+ on Amazon: https://amzn.to/3PJ7QwX (Affiliate link *) ▶ Raspberry Pi 4 on Amazon: https://amzn.to/3PHfZ4T (Affiliate link *) ---------------------------------------------------------------------------------------- 00:00 - Intro 00:35 - My new video course 01:00 - What are templates 02:00 - Syntax and first steps 03:30 - Accessing entities, states and attributes 08:00 - What are they for? 08:45 - Template entities 12:15 - if queries 13:10 - Loops 16:33 - Example: Is the light still on? 19:20 - Templates in automations 22:13 - Outro ---------------------------------------------------------------------------------------- These links are affiliate links. If you buy something via this link, I get a commission from Amazon