Roku TV ECP commands & power state

My issue is with turning it off LOL.

I’m not sure if this is what you are referring to, but see ‘PowerOff’:
https://developer.roku.com/docs/developer-program/debugging/external-control-api.md#keypress-key-values