Never Forget To CLOSE YOUR DOORS Again When You Leave (With templates masterclass)

Do you recognize that you came home and it turned out that you left some doors or windows open? If you use the templates and automation in this video, you will never have to worry about that again! And in the meantime, you'll also learn how template sensors work! ⭐ You can download the code that I created for this video at: https://ko-fi.com/s/2714397df1 ⭐ Links referred to in this video: Switch Based On Presence In Home Assistant:    • Switch Based On Presence In Home Assistant...   Buy the Aqara Door Sensor at AliExpress: https://s.click.aliexpress.com/e/_Dlw... Buy the Aqara Door Sensor at Amazon: https://amzn.to/3F5vaAE Buy the Switchbot Contact Sensor at Amazon: https://amzn.to/3hXIbU2 Join my Discord server at   / discord   Blog version: https://www.smarthomejunkie.net/never... ⭐⭐⭐ Join this channel to get access to perks: 📺    / smarthomejunkie   Please consider becoming my patron 🏅 at   / smarthomejunkie   Or please support me by buying me a ☕ at https://ko-fi.com/smarthomejunkie/ ⭐⭐⭐ My Devices: https://github.com/smarthomejunkie/My... Instagram:   / smarthomejunkie   Twitter:   / smarth0mejunkie   Facebook:   / smarthomejunkie   TikTok:   / smarthomejunkie   Discord:   / discord   Music by: 2TECH-AUDIO: https://2tech-audio.bandcamp.com/ 00:00:00 Introduction 00:01:33 What is a Template Sensor? 00:02:09 What is our Use Case? 00:02:42 What sensors do you need for this Use Case? 00:02:54 Creating the template that shows how many doors or windows are open 00:03:02 How to install Studio Code Server in Home Assistant 00:03:34 Add a reference to templates.yaml in the configuration.yaml 00:04:00 Download the code 00:04:23 Enter the code in the templates.yaml file 00:04:41 How to create a unique ID in Studio Code Server 00:05:25 How states and attributes of an entity work 00:06:48 How to activate new template sensors in Home Assistant 00:07:06 test the template sensor that shows how many doors are open 00:08:06 Create the Template Sensor that shows what doors are open 00:09:04 Test the Template Sensor that shows the doors that are open. 00:09:26 Create the automation that sends a message to our phone 00:10:40 Test the Templates and Automation #homeassistant #templates #doorsensor #notify #presencedetection #notification #tutorial #smarthome #homeautomation