No video

How To Add Alerts in Home Assistant | Complete Tutorial

  Рет қаралды 4,454

KPeyanski

KPeyanski

Ай бұрын

► MY ARTICLE ABOUT THAT TOPIC - peyanski.com/h...
► MY HOME ASSISTANT INSTALLATION METHODS FREE WEBINAR - automatelike.p...
► DOWNLOAD MY FREE SMART HOME GLOSSARY - automatelike.p...
► MY RECORDING GEAR
MAIN CAMERA: amzn.to/3UKinKV
MAIN CAMERA LENS: amzn.to/3yoR2X9
2ND ANGLE CAMERA: amzn.to/44KbVYX
2ND CAMER LENS: amzn.to/48bhxMZ
SD CARDS: amzn.to/3sT7fRy & amzn.to/3sS0wHu
MICROPHONE: amzn.to/3W1P3kY
BACKUP MIC: amzn.to/466Kxne
EDITING MACHINE: amzn.to/45LWdvS
► SUPPORT MY WORK
Paypal - www.paypal.me/...
Patreon - / kpeyanski
Bitcoin - 1GnUtPEXaeCUVWdJxCfDaKkvcwf247akva
Revolut - revolut.me/kir...
Join this channel to get access to perks - / @kpeyanski
✅ Don't Forget to like 👍 comment ✍ and subscribe to my channel!
Example configuration.yaml entry
alert:
garage_door:
name: "Garage is open"
message: "The garage door is still open"
done_message: "The garage door is closed"
entity_id: cover.garage_door
state: "open" # Optional, 'on' is the default value
repeat: 1
can_acknowledge: true # Optional, default is true
skip_first: true # Optional, false is the default
data:
inline_keyboard:
- 'Close garage:/close_garage, Acknowledge:/garage_acknowledge'
notifiers:
- app_and_telegram
front_door_battery:
name: Front Door Battery is Low
message: "The Front Door Battery is still low"
done_message: "The Front Door Battery is OK"
entity_id: binary_sensor.front_door_battery_is_low
repeat:
- 1
- 3
- 5
- 1440
can_acknowledge: true # Optional, default is true
skip_first: false # Optional, false is the default
data:
inline_keyboard:
- 'Acknowledge:/front_door_battery_acknowledge'
notifiers:
- mobile_app_kiril
- telegram
-- Automations
alias: Telegram callback to close the garage door
description: ""
trigger:
- platform: event
event_type: telegram_callback
event_data:
data: /close_garage
condition: []
action:
- service: telegram_bot.answer_callback_query
metadata: {}
data:
show_alert: true
target: "{{ trigger.event.data.chat_id }}"
callback_query_id: "{{ trigger.event.data.id }}"
message: The Garage is Closing!
- service: cover.close_cover
metadata: {}
data: {}
target:
entity_id: cover.garage_door
mode: single
alias: Telegram callback to stop alerts for garage door
description: ""
trigger:
- platform: event
event_type: telegram_callback
event_data:
data: /garage_acknowledge
condition: []
action:
- service: alert.turn_off
metadata: {}
data: {}
target:
entity_id: alert.garage_door
mode: single
► DISCLAIMER
Some of the links above are affiliate links. If you click on these links and purchase an item I will earn a small commission with no additional cost for you. Of course, you don’t have to do so in case you don’t want to support my work!

Пікірлер: 9
@MrLapomme972
@MrLapomme972 Ай бұрын
Dude thanks I was just on my way to add this to my homeassistant
@KPeyanski
@KPeyanski Ай бұрын
Glad I could help
@robert-georgianmartinescu5912
@robert-georgianmartinescu5912 Ай бұрын
Hello, do you have a way for an automation to do something if is not getting an answer. I try to send a message when my door is open and AC is on to turn off the ac or to skip it for 5 min, but if i don't answer to close it in "x" minute. thank you for response
@KPeyanski
@KPeyanski 29 күн бұрын
One of the ways to achieve this is include a counter or boolean sensor inside the automation (you should create and invoke a simple HA script)
@Kim-zb9zp
@Kim-zb9zp Ай бұрын
My nerd-friend is back!
@KPeyanski
@KPeyanski Ай бұрын
Haha is that good or bad?
@VWTesla
@VWTesla Ай бұрын
Do you have any alert videos on using the Facebook Messenger integration? I send my wife an alert when I'm leaving work to her phone but often she would rather get it in Facebook messenger.
@KPeyanski
@KPeyanski Ай бұрын
I think FB Messenger is not having inline keyboard option so you can't have buttons. Other than that you can add FB as a notify service and use it with the Home Assistant Alerts the same way as I'm describing in the video
@VWTesla
@VWTesla Ай бұрын
@@KPeyanski The Facebook integration was a little difficult to follow (at least for me) so it might be an interesting video :)
My Cheetos🍕PIZZA #cooking #shorts
00:43
BANKII
Рет қаралды 23 МЛН
WORLD'S SHORTEST WOMAN
00:58
Stokes Twins
Рет қаралды 175 МЛН
Can A Seed Grow In Your Nose? 🤔
00:33
Zack D. Films
Рет қаралды 32 МЛН
Кадр сыртындағы қызықтар | Келінжан
00:16
The World Depends on 60-Year-Old Code No One Knows Anymore
9:30
Coding with Dee
Рет қаралды 738 М.
Control Alexa from Home Assistant Like Never Before!
8:11
KPeyanski
Рет қаралды 35 М.
Master Home Assistant Templates: State Based Entities
38:39
SlackerLabs
Рет қаралды 28 М.
Improve your UI in Home Assistant with 4 HACS components
13:44
BeardedTinker
Рет қаралды 51 М.
Home Assistant Notifications Revisited
22:53
Hive Mind Automation
Рет қаралды 15 М.
How to Create YOUR OWN  Garden Watering System in Home Assistant!
39:20
Smart Home Junkie
Рет қаралды 44 М.
Want to make a video chat app? Watch this video for WebRTC!
1:22:35
Good Morning Developers
Рет қаралды 30 М.
My Cheetos🍕PIZZA #cooking #shorts
00:43
BANKII
Рет қаралды 23 МЛН