This is a feature request for the following HA integration:
UniFi Network - Home Assistant (home-assistant.io)
Currently there is a button for restart a UniFi switch device.
It would be nice to have an additional button which supports to power cycle all PoE ports on device restart as shown on the following screenshot:
Thank you for considering!