Templates and Custom Sensors in Home Assistant - How To TUTORIAL

Тәжірибелік нұсқаулар және стиль

Templates and Custom Sensors are a more advanced feature in Home Assistant. With Templates and Custom Sensors you can format and convert data so that it looks exactly the way how you want it to look. Templates and Custom Sensors are really powerful in Home Assistant and will help you in tailoring Home Assistant to your specific needs. In this video, I will explain how to create Templates and Custom Sensors in Home Assistant so that you can set this up yourself!
Links used in this video:
* Jinja documentation: jinja.palletsprojects.com/en/...
* Material Design Icons: materialdesignicons.com/
* How to install HACS in Home Assistant: • Install HACS in Home A...
The code used in this video can be downloaded at: ko-fi.com/s/eb3a98ab41
(The code for the battery icon was not entirely correct, so I corrected it in the download file above 😊)
⭐ Read the blog version of this video on www.smarthomejunkie.net ⭐
⭐⭐⭐
* 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 ko-fi.com/smarthomejunkie/
⭐⭐⭐
My Devices: github.com/smarthomejunkie/My...
Instagram: / smarthomejunkie
Twitter: / smarth0mejunkie
Facebook: / smarthomejunkie
TikTok: / smarthomejunkie
Discord: / discord
Check my channel for more awesome Smart Home tutorials: / smarthomejunkie
If you got enthusiastic about Home Assistant, you can watch many more videos on this playlist: • Home Assistant
00:00 Introduction
00:57 Use Cases
02:24 Getting to know the Developer Tools in Home Assistant
04:33 How to retrieve the state and attributes of a motion sensor
08:01 Light Counter Template
09:45 Battery Status Template
13:59 How to create a custom sensor in Home Assistant
19:45 How to use a custom sensor in a Home Assistant dashboard
23:46 Add a custom light counter sensor to a Home Assistant dashboard
26:02 Add a battery status custom sensor to a Home Assistant dashboard
29:50 Outtro
#homeassistant #smarthome #smarthomejunkie #homeautomation

Пікірлер: 312

    Келесі