The default CE suspend puts the box in deep sleep (suspend-to-ram) which is handled by the bootloader again (similar to power off state).
The script I made was to put the box into suspend-to-idle, which turns off a bunch of hardware and CPUs, but CE maintains control. This makes waking the device more flexible (but less power savings).
Waking from suspend-to-idle still requires an IR button press, but this can be any button that you assign as power in your remote.conf file.
Follow the first post, it doesn’t use a python script, it replaces the default suspend.service. Using this does require that you have a remote.conf file for your remote with the IR power button defined.