Forked from nikosthanos/HA_restart_notify_app_telegram.yaml
Created
January 16, 2021 00:52
Star
You must be signed in to star a gist
Home Assistant Restart Notification app & Telegram
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blueprint: | |
name: HA Restart Notify app & telegram | |
description: Notify mobile HA user & telegram that Home Assistant has successfully restarted | |
domain: automation | |
source_url: https://gist.github.com/nikosthanos/0af8b2b484694ede4250ef5817bb4da4 | |
input: | |
notification_title: | |
name: Notification title (Optional) | |
description: 'Default: "Home Assistant"' | |
default: Home Assistant | |
notification_message: | |
name: Notification message (Optional) | |
description: 'Default: "Home Assistant has succesfully started!"' | |
default: Home Assistant has succesfully restarted! | |
notify_device: | |
name: Device to notify | |
description: Device needs to run the official Home Assistant app to receive | |
notifications | |
selector: | |
device: | |
integration: mobile_app | |
trigger: | |
platform: homeassistant | |
event: start | |
variables: | |
notification_title: !input 'notification_title' | |
notification_message: !input 'notification_message' | |
notify_device: !input 'notify_device' | |
action: | |
- device_id: !input 'notify_device' | |
domain: mobile_app | |
type: notify | |
title: '{{ notification_title }}' | |
message: '{{ notification_message }}' | |
- service: telegram_bot.send_message | |
data: | |
message: !input 'notification_message' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment