I’m using the following automation to trigger an MQTT command to refresh my owntracks. Looking at the MQTT Broker, when the automation triggers, every 5 minutes, I get a barrage of publishes, 20-30 times before it stops. I would think it would just send the message once. Anyone know what’s going on?
automation:
# REFRESH OWNTRACKS #
- alias: Refresh Owntracks Jim
trigger:
- platform: time
minutes: '/5'
action:
- service: mqtt.publish
data:
topic: "owntracks/jimphone/phone/cmd"
payload_template: '{"_type":"cmd","action":"reportLocation"}'