mysmarthome/packages/notify.yaml

70 lines
1.7 KiB
YAML
Raw Normal View History

2019-04-17 22:46:06 +00:00
###############################################################################
# @author : Mahasri Kalavala
# @date : 04/15/2017
# @package : Scripts
# @description : Nothing but Notification Stuff!
###############################################################################
homeassistant:
ifttt:
key: !secret ifttt_key
notify:
- name: ios_devices
platform: group
services:
- service: ios_ipad
- service: ios_suresh
- service: ios_mallika
- service: ios_srinika
- service: ios_hasika
2019-12-20 15:32:28 +00:00
2019-04-17 22:46:06 +00:00
# make sure you generate app password for your email if you have 2FA enabled!
- name: notify_smtp
platform: smtp
server: smtp.gmail.com
port: 587
timeout: 15
username: !secret smtp_username
password: !secret smtp_password
2019-12-20 15:32:28 +00:00
sender: !secret smtp_sender
2019-04-17 22:46:06 +00:00
recipient: !secret smtp_recipient
2019-05-14 23:32:32 +00:00
# - name: notify_aws_sns
# platform: aws_sns
# aws_access_key_id: !secret aws_access_key_id
# aws_secret_access_key: !secret aws_secret_access_key
# region_name: 'us-east-1'
2019-04-17 22:46:06 +00:00
- name: file_notify
platform: file
filename: debug.log
2020-09-08 02:02:44 +00:00
- name: telegram
platform: telegram
chat_id: !secret telegram_chatid
2019-04-17 22:46:06 +00:00
tts:
- platform: amazon_polly
aws_access_key_id: !secret aws_access_key_id
aws_secret_access_key: !secret aws_secret_access_key
2019-12-20 15:32:28 +00:00
region_name: "us-east-1"
2019-04-17 22:46:06 +00:00
text_type: ssml
voice: Joanna
2020-09-08 02:02:44 +00:00
#
# Telegram Configuration
#
2020-03-15 23:42:44 +00:00
telegram_bot:
2020-09-08 02:02:44 +00:00
# Setup Broadcast for sending messages
2020-03-15 23:42:44 +00:00
- platform: broadcast
api_key: !secret telegram_apikey
allowed_chat_ids:
- !secret telegram_chatid
2020-09-08 02:02:44 +00:00
# Add Polling
- platform: polling
api_key: !secret telegram_apikey
allowed_chat_ids:
- !secret telegram_chatid