You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
Master Home Assistant Templates: State Based Entities
Description
Master Home Assistant Temaplte and build your very own Home Assistant entities using state based templates. This video is long, but full of working examples from my own Home Assistant based smart home.
Links to things mentioned in the video:
YAML Shown in this video: https://github.com/thejeffreystone/SlackerLabVideoExamples/tree/main/2023-MasterTemplates_StateBasedEntities
HA Template Docs: https://www.home-assistant.io/integrations/template/#state-based-template-binary-sensors-buttons-images-numbers-selects-and-sensors
Third Reality Smart Button: https://amzn.to/3PYfHbe
Chapters:
00:00 - Intro
01:13 - The New, Old Way of Building Template Entities
06:30 - What is a State Based Template Entity?
07:19 - Real Examples of State Based Templates in Home Assistant
08:10 - Example - We Have a Problem Sensor
11:18 - Example - Button Monitor Entity
15:28 - Example - Is tomorrow a school day?
18:39 - Example - Using a Media Player as a Occupancy Sensor
21:26 - Example - Dynamic Occupancy Sensors
27:59 - Example - Countdown Sensor to a Date
32:28 - Example - Find Batteries that need Changing