Esphome node, automatic disable/enable possible?

Hello,

I have a ESPhome node that goes offline in HA and becomes unavailable.
In the ESPhome integration it is still online and displaying information correctly.

The only way for me to make it work properly again for now is by disabling the node in integrations and then re-enabling it.

Is there a way i could have a automation that disables and re-enables the device?

Point to note is that the device itself is not on a smart switch, so i can not turn it on or off by cutting the power to it.

Thank you