Тёмный

How To Add Alerts in Home Assistant | Complete Tutorial 

KPeyanski
Подписаться 29 тыс.
Просмотров 5 тыс.
50% 1

► 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!

Опубликовано:

 

15 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 10   
@PunaJussi
@PunaJussi Месяц назад
This is amazing! The built in alert features are really lacking in HA.
@MrLapomme972
@MrLapomme972 3 месяца назад
Dude thanks I was just on my way to add this to my homeassistant
@KPeyanski
@KPeyanski 3 месяца назад
Glad I could help
@robert-georgianmartinescu5912
@robert-georgianmartinescu5912 3 месяца назад
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 3 месяца назад
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 3 месяца назад
My nerd-friend is back!
@KPeyanski
@KPeyanski 3 месяца назад
Haha is that good or bad?
@VWTesla
@VWTesla 3 месяца назад
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 3 месяца назад
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 3 месяца назад
@@KPeyanski The Facebook integration was a little difficult to follow (at least for me) so it might be an interesting video :)
Далее
Free and Local AI in Home Assistant using Ollama
13:10
Home Assistant Tips And Tricks That No One Told Me
8:51
Cool Parenting Gadget Against Mosquitos! 🦟👶
00:21
САМАЯ ТУПАЯ СМЕРТЬ / ЧЕРНЕЦ
1:04:43
Home Assistant Mobile Notification Deepdive!!
16:36
Просмотров 16 тыс.
Connecting Victron to Home Assistant using MQTT
17:38
How My New Smart Home Dashboard is GENIUS
9:00
Просмотров 194 тыс.
Mastering Home Assistant Templates: A Beginner's Guide
23:56
I Bought a $5000 PC in a Random Asian Tech Mall
22:12
Dynamic Home Assistant Dashboards
17:00
Просмотров 49 тыс.