power off and on command (sleep/wake)

I decided to upgrade from 14 to 17. now already 2 weeks no cinema at home Smile
custom commands not working any more. keymaps.xml seems not to function.
and what is worst, I used harmony remote (MCE keyboard) to power ON and OFF my PC with windows.

now I cannot power off (sleep) with remote I can only use power toggle command but this opens a power menu in kodi.
In old version it was great, since i pressed OFF on remote and PC went to sleep, TV and AVR turned off.
and when pressed power ON, all devices turned ON and PC woke up in kodi.

reading the forums and could not find a solution.

What should I do to use it as before? send a command to sleep, and another command to wake computer (windows 10 with kodi).

thanks