► 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