UniFi Network - Shut Down UniFi Controller

Currently the UniFi network integration exposes a button to restart my UDM-SE, however it would be nice if it would also expose a button to gracefully shut down the UDM-SE as well. I think the reason this isn’t currently an option is because the device details page in the network application only shows “Locate” and “Restart” under the management controls. The controller can be safely shut down through software from the console settings page at https://10.0.0.1/console-settings for example. Even though this isn’t necessarily part of the UniFi Network app, it would be nice to be able to access this control from Home Assistant.

The problem is that may be great for a console device, but an issue for cloud base controllers or self-hosted controllers.