Reprogram the tv, skip the first positive result by clicking no, see if a later code has toggle power command instead of a discrete off command.
settings> remote & devices> remote> remote in use> program tv> follow prompts
Edmund
Roku Community Streaming Expert
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.