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/ # 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 # 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. # 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: tweet_engine_image:
sequence: sequence:
- service: mqtt.publish # - service: mqtt.publish
data: # data:
topic: 'twitter/message' # topic: 'twitter/message'
payload: >- # payload: >-
{{ tweet }} # {{ tweet }}
retain: true # retain: true
- service: > - service: >
{% if who == 'ccostan' %} {% if who == 'ccostan' %}
@ -32,12 +34,12 @@ tweet_engine_image:
tweet_engine_no_image: tweet_engine_no_image:
sequence: sequence:
- service: mqtt.publish # - service: mqtt.publish
data: # data:
topic: 'twitter/message' # topic: 'twitter/message'
payload: >- # payload: >-
{{ tweet }} # {{ tweet }}
retain: true # retain: true
- service: > - service: >
{% if who == 'ccostan' %} {% if who == 'ccostan' %}