I have the following automations. because I need to pull data from my heater in order for HA to update properly but I am having cascade triggering issues.
Problem is that the start
automation is pulling initial data then updating my heater data it triggers other automations that listen to any change on the entity.
I end up with automations not working because probably of an overload somewhere. I confirmed it by adding delays.
How could I solve this issue please ?
- trigger:
- platform: homeassistant
event: start
action:
- service: mqtt.publish
data:
topic: heater/cmd/Refresh
payload: "1"
- trigger:
- platform: state
entity_id: climate.localhost_heater
action:
- service: mqtt.publish
data:
topic: heater/cmd/Refresh
payload: "1"
- trigger:
- platform: state
entity_id: climate.localhost_heater_2
action:
- service: mqtt.publish
data:
topic: heater/cmd/Refresh
payload: "1"