Migrated ThrowBacks into this script and also added parameter for defining BearStone or CCOSTAN as the twitter source. #591

This commit is contained in:
ccostan
2019-08-02 19:51:35 -04:00
parent ff9d055944
commit a7e739c19f
4 changed files with 67 additions and 55 deletions

View File

@@ -314,7 +314,12 @@ tweet_engine_image:
{{ tweet }}
retain: true
- service: notify.bearstoneha
- service_template: >
{% if who == 'ccostan' %}
notify.ccostan
{% else %}
notify.bearstoneha
{% endif %}
data_template:
message: >-
{{ tweet }} #IOT #SmartHome