Smart Home Junkie | How To Use Timers To Build Reliable Automations in Home Assistant @SmartHomeJunkie | Uploaded October 2022 | Updated October 2024, 1 hour ago.
In quite some cases you might want to trigger a certain action after a specific time interval. For instance, turning off the lights after there has been no motion for 5 minutes. This can be done in various ways in Home Assistant, but in most cases, this fails as soon as Home Assistant gets restarted during that time interval. In this tutorial, I will show you how you can set up timers in Home Assistant that will keep working even when Home Assistant gets restarted.
⭐ You can download the code that I created for this video at: ko-fi.com/s/82aa1a8fda ⭐
Blog version: smarthomejunkie.net/how-to-use-timers-perfectly-in-home-assistant
⭐⭐⭐
* Join this channel to get access to perks: 📺 youtube.com/c/smarthomejunkie/join
* Please consider becoming my patron 🏅 at patreon.com/join/smarthomejunkie
* Or please support me by buying me a ☕ at ko-fi.com/smarthomejunkie
⭐⭐⭐
My Devices: github.com/smarthomejunkie/MyDevices
Instagram: instagram.com/smarthomejunkie
Twitter: twitter.com/smarth0mejunkie
Facebook: facebook.com/smarthomejunkie
TikTok: tiktok.com/@smarthomejunkie
Discord: discord.gg/at8v5hW
Music by:
* 2TECH-AUDIO: 2tech-audio.bandcamp.com
00:00:00 Introduction
00:02:07 Create a Timer Helper
00:02:38 States of a Timer
00:03:30 Let's create the automation
00:08:33 Let's test the automation
00:09:36 Note: There is an error in the documentation of the Timers
#homeassistant #timers #howtouseatimer #timer #timerhelper #smarthome #homeautomation
In quite some cases you might want to trigger a certain action after a specific time interval. For instance, turning off the lights after there has been no motion for 5 minutes. This can be done in various ways in Home Assistant, but in most cases, this fails as soon as Home Assistant gets restarted during that time interval. In this tutorial, I will show you how you can set up timers in Home Assistant that will keep working even when Home Assistant gets restarted.
⭐ You can download the code that I created for this video at: ko-fi.com/s/82aa1a8fda ⭐
Blog version: smarthomejunkie.net/how-to-use-timers-perfectly-in-home-assistant
⭐⭐⭐
* Join this channel to get access to perks: 📺 youtube.com/c/smarthomejunkie/join
* Please consider becoming my patron 🏅 at patreon.com/join/smarthomejunkie
* Or please support me by buying me a ☕ at ko-fi.com/smarthomejunkie
⭐⭐⭐
My Devices: github.com/smarthomejunkie/MyDevices
Instagram: instagram.com/smarthomejunkie
Twitter: twitter.com/smarth0mejunkie
Facebook: facebook.com/smarthomejunkie
TikTok: tiktok.com/@smarthomejunkie
Discord: discord.gg/at8v5hW
Music by:
* 2TECH-AUDIO: 2tech-audio.bandcamp.com
00:00:00 Introduction
00:02:07 Create a Timer Helper
00:02:38 States of a Timer
00:03:30 Let's create the automation
00:08:33 Let's test the automation
00:09:36 Note: There is an error in the documentation of the Timers
#homeassistant #timers #howtouseatimer #timer #timerhelper #smarthome #homeautomation