I have a UniFi NeXt-Gen Gateway PRO that has the power outlet that is supposed to power cycle your modem if your internet goes down. It has worked maybe once since I started using it.
It would be awesome to have it exposed to Home Assistant to be able to automate power cycling if Unfi doesn’t work.