Auto Turn OFF Problem with Kodi 16.1 + Raspb.3 + Panasonic TV CEC

Hello Comunity,

I have a Problem with the following setup:

– Openelec with Kodi 16.1 is installed on my Raspberry Pi 3
– Kodi is controlled with a small Toshiba remote control + IR receiver installed at the IO Pins
– RPI3 is connected to my Panasonic TV with HDMI

Unfortunately everytime I switch of the TV, the Raspberry is also switched of and needs to be powered ON again by unplugin the Power Cable.

What I have done so far…

Pulse Eight CEC Adapter is disabled in the Confluence Settings, but everytime I press one of the TV`s Remote Keys the Raspberry is responding.
In the config.txt File I added the two commands (hdmi_ignore_cec_init=1 and hdmi_ignore_cec=1)

But both of this two steps didn`t stop my Pi from reacting to the TVs Remote Control Commands

As I don`t need CEC my question to you is if there is a safe way to complete uninstall all CEC functionalitys in Kodi ??

Looking forward for your help.Blush

Thank you