Cleaned up content
This commit is contained in:
parent
3cfba32fa9
commit
ed4a44bbbf
|
@ -6,6 +6,7 @@
|
||||||
# Package modified from https://github.com/skalavala/smarthome/blob/master/packages/notify.yaml
|
# Package modified from https://github.com/skalavala/smarthome/blob/master/packages/notify.yaml
|
||||||
###############################################################################
|
###############################################################################
|
||||||
#homeassistant:
|
#homeassistant:
|
||||||
|
|
||||||
#ifttt:
|
#ifttt:
|
||||||
# key: !secret IFTTT_API_KEY
|
# key: !secret IFTTT_API_KEY
|
||||||
|
|
||||||
|
@ -47,14 +48,11 @@ notify:
|
||||||
access_token: !secret twitter_access_token
|
access_token: !secret twitter_access_token
|
||||||
access_token_secret: !secret twitter_access_secret
|
access_token_secret: !secret twitter_access_secret
|
||||||
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Txt Notify
|
# Txt Notify
|
||||||
# Conditions:
|
|
||||||
# => Only Announce when people are home.
|
|
||||||
# => Only Announce when Audible Notifications are on
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
text_notify_all:
|
text_notify_all:
|
||||||
sequence:
|
sequence:
|
||||||
|
@ -147,22 +145,31 @@ script:
|
||||||
|
|
||||||
twitter_notify:
|
twitter_notify:
|
||||||
sequence:
|
sequence:
|
||||||
|
- condition: state
|
||||||
|
entity_id: input_boolean.tweet_system
|
||||||
|
state: 'on'
|
||||||
- service: notify.twitter
|
- service: notify.twitter
|
||||||
data_template:
|
data_template:
|
||||||
message: >
|
message: >
|
||||||
{% set msg = "" %}
|
{% set msg = "" %}
|
||||||
{% set msg = msg + " " + message %}
|
{% set msg = msg + " " + message %}
|
||||||
{% set msg = msg + " #homeassistant #iot #itscomingfrominsidethehouse" %}
|
{% set msg = msg + " #iot #smarthome" %}
|
||||||
{{ msg }}
|
{{ msg }}
|
||||||
|
|
||||||
twitter_snark:
|
twitter_snark:
|
||||||
sequence:
|
sequence:
|
||||||
|
- condition: state
|
||||||
|
entity_id: input_boolean.tweet_snark
|
||||||
|
state: 'on'
|
||||||
- service: notify.twitter
|
- service: notify.twitter
|
||||||
data_template:
|
data_template:
|
||||||
message: !include ../templates/twitter_snark.yaml
|
message: !include ../templates/twitter_snark.yaml
|
||||||
|
|
||||||
twitter_github:
|
twitter_github:
|
||||||
sequence:
|
sequence:
|
||||||
|
- condition: state
|
||||||
|
entity_id: input_boolean.tweet_system
|
||||||
|
state: 'on'
|
||||||
- service: notify.twitter
|
- service: notify.twitter
|
||||||
data_template:
|
data_template:
|
||||||
message: >
|
message: >
|
||||||
|
@ -173,9 +180,13 @@ script:
|
||||||
|
|
||||||
twitter_new_ha:
|
twitter_new_ha:
|
||||||
sequence:
|
sequence:
|
||||||
|
- condition: state
|
||||||
|
entity_id: input_boolean.tweet_releases
|
||||||
|
state: 'on'
|
||||||
- service: notify.twitter
|
- service: notify.twitter
|
||||||
data_template:
|
data_template:
|
||||||
message: !include ../templates/twitter_new_ha.yaml
|
message: !include ../templates/twitter_new_ha.yaml
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Morning Report
|
# Morning Report
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
@ -185,6 +196,7 @@ script:
|
||||||
data_template:
|
data_template:
|
||||||
message: !include ../templates/morning_report.yaml
|
message: !include ../templates/morning_report.yaml
|
||||||
|
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Skylar Get Dressed
|
# Skylar Get Dressed
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
@ -193,6 +205,7 @@ script:
|
||||||
- service: script.voice_notify
|
- service: script.voice_notify
|
||||||
data_template:
|
data_template:
|
||||||
message: !include ../templates/skylar_morning.yaml
|
message: !include ../templates/skylar_morning.yaml
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Nightly Report
|
# Nightly Report
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
Loading…
Reference in New Issue