mirror of
https://github.com/HASwitchPlate/HASPone.git
synced 2025-07-25 12:16:41 +00:00
Align outgoing commands onto JSON topic
This commit is contained in:
parent
c951dda7f7
commit
29e6c95f80
@ -339,8 +339,9 @@ action:
|
|||||||
sequence:
|
sequence:
|
||||||
- service: mqtt.publish
|
- service: mqtt.publish
|
||||||
data:
|
data:
|
||||||
topic: "{{commandtopic}}.txt"
|
topic: "{{jsoncommandtopic}}"
|
||||||
payload: '"{{text}}"'
|
payload: '["{{haspobject}}.txt=\"{{text}}\""]'
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
# Catch triggers fired by incoming MQTT messages
|
# Catch triggers fired by incoming MQTT messages
|
||||||
- conditions:
|
- conditions:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user