-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathnotify.yaml
executable file
·61 lines (55 loc) · 1.88 KB
/
notify.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# - name: octo_cam_bot_notifier
# platform: twitter
# consumer_key: !secret twitter_consumer_key
# consumer_secret: !secret twitter_consumer_secret
# access_token: !secret twitter_access_token
# access_token_secret: !secret twitter_access_token_secret
#- platform: command_line
# name: gabes_alexa
# command: /home/homeassistant/.homeassistant/scripts/alexa_wrapper.sh -d "Gabe's Alexa"
#- name: kiosk
# platform: command_line
# command: "/home/homeassistant/.homeassistant/tts/kiosk_tts.py"
- platform: alexa_media
name: alexa_media
- platform: html5
name: html5_push
vapid_pub_key: !secret firebase_pub_key
vapid_prv_key: !secret firebase_priv_key
vapid_email: !secret firebase_email
- name: twilio_sms
platform: twilio_sms
from_number: !secret twilio_from_number
#Event looks like this
# {
# "event_type": "twilio_data_received",
# "data": {
# "ToCountry": "US",
# "ToState": "FL",
# "SmsMessageSid": "SM14aab03e92aa6a790163ea8c23d13188",
# "NumMedia": "0",
# "ToCity": "",
# "FromZip": "94608",
# "SmsSid": "SM14aab03e92aa6a790163ea8c23d13188",
# "FromState": "CA",
# "SmsStatus": "received",
# "FromCity": "SAN FRANCISCO",
# "Body": "This is a test message",
# "FromCountry": "US",
# "To": "+13525413140",
# "ToZip": "",
# "NumSegments": "1",
# "MessageSid": "SM14aab03e92aa6a790163ea8c23d13188",
# "AccountSid": "ACd73768225f0a9c8ba22affc4184cd126",
# "From": "+15103931771",
# "ApiVersion": "2010-04-01",
# "webhook_id": "3eacd0f77d32f6513252ade7e851f8e78a6fa41e989f6fe2dd39d365e58fddab"
# },
# "origin": "LOCAL",
# "time_fired": "2021-07-10T04:22:02.342340+00:00",
# "context": {
# "id": "70cdd5a2e6828d7f4312b7195b694176",
# "parent_id": null,
# "user_id": null
# }
# }