mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-20 04:04:06 +00:00
Quick updates to Twitter.. To tweet or not to tweet. With an image. That is the question.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
## Enhancements by @dale3h
|
||||
######################################################################################################
|
||||
|
||||
tweet_engine:
|
||||
tweet_engine_image:
|
||||
sequence:
|
||||
- service: mqtt.publish
|
||||
data_template:
|
||||
@@ -21,6 +21,23 @@ tweet_engine:
|
||||
media: >-
|
||||
{{image}}
|
||||
|
||||
tweet_engine:
|
||||
sequence:
|
||||
- service: mqtt.publish
|
||||
data_template:
|
||||
topic: 'ifttt/message'
|
||||
payload: >-
|
||||
{{ tweet }}
|
||||
retain: true
|
||||
|
||||
- service: notify.BearStoneHA
|
||||
data_template:
|
||||
message: >-
|
||||
{{ tweet }} #IOT #SmartHome
|
||||
|
||||
|
||||
|
||||
|
||||
# - service: ifttt.trigger
|
||||
# data_template: {"event":"facebook_tweet", "value1":"{{ tweet }}", "value2":"{{ value2 }}", "value3":"{{ value3 }}"}
|
||||
|
||||
|
Reference in New Issue
Block a user