mirror of
https://github.com/HASwitchPlate/HASPone.git
synced 2025-07-23 03:06:41 +00:00
Align outgoing commands onto JSON topic
This commit is contained in:
parent
c951dda7f7
commit
29e6c95f80
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user