Ubiquiti POE Reset

Hi,

i have my unifi controller integrated into homeassistant flawlessly. I wonder if it is possible to do the POE reset from within homeassistant to reboot my raspberry pi4 since it does not support WOL currently.
Right now i have to turn the switch port off and on again, which is kinda meh.
Thanks.