Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature currently requires accessing the site using the built-in Safari browser.
Welcome to Doncaster Classifieds
Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies, give reputation to your fellow members, get your own private messenger, and so, so much more, so what are you waiting for?
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
Details
Feb 19, 2024 at 7:38 AM
Posted by
DC
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