Загрузка страницы

New Home Assistant Automations and Scripts Running Modes Explained

Home Assistant Automations and Scripts are very useful and you can do a lot of cool stuff with them to make your life easier and your home smarter. But sometimes they seems a little bit complicated and hard to understand.

Now the latest #HomeAssistant release brings even more changes like the #Automations and #Scripts running modes.

But don’t worry I will explain them in details.

► TIME TABLE
00:00 Intro
00:30 What you will see in this video?
00:40 Automation Components
00:50 What are Triggers, Conditions and Actions?
01:30 Creating a helper
03:23 Home Assistant Automations Creation Methods
06:42 Explaining automations.yaml
07:24 Testing the Automation
08:11 Home Assistant Scripts
09:03 Quick clarification about Running modes
11:07 Credits to Phill @pnbruckner
11:43 Automations and Scripts Single Running Mode
13:16 Question Of The Day!
13:29 Automations and Scripts Restart Running Mode
14:39 Automations and Scripts Queued Running Mode
15:54 Do you want part 2?
16:15 Automations and Scripts Parallel Running Mode
16:40 Support my Work!

An automation usually consist of two or three different parts. These are: trigger, condition (which is optional) and action.

► CONFIGURATIONS
# Example configuration.yaml entry
input_boolean:
lightbulb:
name: Dummy light bulb
icon: mdi:lightbulb

# Example scripts.yaml entry
turn_the_light_for_5_sec:
alias: Turn the light for 5 sec
icon: mdi:lamp
mode: single
sequence:
- data: {}
entity_id: light.kitchen_lights
service: light.turn_on
- delay: 00:00:05
- data: {}
entity_id: light.kitchen_lights
service: light.turn_off

# Example automations.yaml entry
- id: '1595779628618'
alias: Back home
description: ''
trigger:
- entity_id: person.kiril
platform: state
to: home
condition:
- before: sunset
before_offset: 03:00:00
condition: sun
action:
- data: {}
entity_id: input_boolean.lightbulb
service: input_boolean.turn_on
mode: single

► AFFILIATE LINKS
My ALL IN 1 page - https://www.amazon.com/shop/kpeyanski

► SUPPORT MY WORK
Patreon – https://www.patreon.com/KPeyanski
Paypal – https://www.paypal.me/kpeyanski
Bitcoin – 1GnUtPEXaeCUVWdJxCfDaKkvcwf247akva

► COME AND SAY “HI” on:
My Discord server: https://invite.gg/kpeyanski
My Twitter: https://twitter.com/kpeyanski

✅ Don't Forget to like 👍 comment ✍ and subscribe to my channel!

► DISCLAIMER
Some of the links above are affiliate links, where I earn a small commission if you click on the link and purchase an item. You are not obligated to do so, but it does help fund these videos in hopes of bringing value to you!

Видео New Home Assistant Automations and Scripts Running Modes Explained канала KPeyanski
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
29 июля 2020 г. 22:15:00
00:17:43
Другие видео канала
Яндекс.Метрика