Hi.
I have this automation that is suppose to publish a mqtt message after 5 minutes that I publish a message in the mqtt topic. But like this way it got crazy and publish the mqtt messages continuously with no end.
what it is wrong?
- id: '1594775184485'
alias: Apagar Riego 5 mins despues de que se encienden
description: ''
trigger:
- platform: mqtt
topic: LV-Automation/Jardin/RiegoAutomatico
condition: []
action:
- delay: 00:05:00
- data:
payload: Z1OFF
topic: LV-Automation/Jardin/RiegoAutomatico
service: mqtt.publish
- data:
payload: Z2OFF
topic: LV-Automation/Jardin/RiegoAutomatico
service: mqtt.publish