Updated script to comment out troubleshooting MQTT messages as per @joshcampbell191 - Thanks!

This commit is contained in:
ccostan 2022-01-31 09:12:37 -05:00
parent f0bbd947f1
commit a66758ba45
1 changed files with 14 additions and 12 deletions

View File

@ -6,16 +6,18 @@
# Publish on Facebook as well - https://www.facebook.com/vcloudinfo/
# If you do end up using this package, please consider using one or two of the canned tweets that calls back to my main repo
# so others can bring thier homes online as well. I have an active search for #Randomstats that helps me find new HA homes using my package online.
#
# Disabled the MQTT section. Used for troubleshooting only.
#-------------------------------------------
tweet_engine_image:
sequence:
- service: mqtt.publish
data:
topic: 'twitter/message'
payload: >-
{{ tweet }}
retain: true
# - service: mqtt.publish
# data:
# topic: 'twitter/message'
# payload: >-
# {{ tweet }}
# retain: true
- service: >
{% if who == 'ccostan' %}
@ -32,12 +34,12 @@ tweet_engine_image:
tweet_engine_no_image:
sequence:
- service: mqtt.publish
data:
topic: 'twitter/message'
payload: >-
{{ tweet }}
retain: true
# - service: mqtt.publish
# data:
# topic: 'twitter/message'
# payload: >-
# {{ tweet }}
# retain: true
- service: >
{% if who == 'ccostan' %}