Add AP restart switch/button for UniFi integration

It would be great to add switch/button to UniFi integration (UniFi Network - Home Assistant), which can do soft restart of the UniFi AP device. Some time there are troubles with AP clients caused by some internal AP problems, which can be solved by AP restart. At the moment it is possible to do it only via UniFi App or UniFi web portal. HA UniFi integration shows AP but without any sensors or switches. Some basic AP info, like Wi-Fi channel, number of clients and their names, AP mac address, Wi-Fi experience, would also be added as AP attributes.

Was just searching to see how this could be done and found this. Would also love to see this!