Align outgoing commands onto JSON topic

This commit is contained in:
aderusha 2021-07-06 12:04:01 -04:00
parent c951dda7f7
commit 29e6c95f80

View File

@ -339,8 +339,9 @@ action:
sequence:
- service: mqtt.publish
data:
topic: "{{commandtopic}}.txt"
payload: '"{{text}}"'
topic: "{{jsoncommandtopic}}"
payload: '["{{haspobject}}.txt=\"{{text}}\""]'
#########################################################################
# Catch triggers fired by incoming MQTT messages
- conditions: