What's new

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?

News Headlines

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

Sensor Device classes: https://www.home-assistant.io/integrations/sensor

Binary Sensor Device Classes: https://www.home-assistant.io/integrations/binary_sensor/

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
0     0     66

Share this page

Back
Top Bottom