Kodi: Configuration option to suspend instead of power off

Currently, when Kodi is powered off from home assistant, a shutdown request is issued.

It would be nice to be able to configure the shutdown action to either shutdown, hibernate, or suspend. Kodi API calls are all available: http://kodi.wiki/view/JSON-RPC_API/v6#System.Suspend

EDIT: Duplicate of Kodi Power on/off