So i just had 1 Node-red flow that checked a MQTT topic (my OT ESP).
Basically when there is no value being send for 2 minutes it will switch the device off/on via a switchable socket.
Remade that in an automation but i see its getting triggered every second which should happen as the topic is send every second
Built in the 2 minutes to account for updating wifi and stuff.
My question is this: Is it bad for an automation to trigger each second the whole day long? or does HA takes these kind of things into account?