From a66758ba45df65e44e360d5fff75dcd78b03471b Mon Sep 17 00:00:00 2001 From: ccostan Date: Mon, 31 Jan 2022 09:12:37 -0500 Subject: [PATCH] Updated script to comment out troubleshooting MQTT messages as per @joshcampbell191 - Thanks! --- config/script/tweet.yaml | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/config/script/tweet.yaml b/config/script/tweet.yaml index c27df181..d3df557e 100755 --- a/config/script/tweet.yaml +++ b/config/script/tweet.yaml @@ -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' %}