Seems i have discovered a bug within the libcec module.
I am using an RPI2 + hifiberry DAC+ for the sound output.
RPI2 connected on port hdmi3 of my panasonic 55vt50
Issue is the following:
with version 7.95.1: when i try to shutdown the TV, in 3 to 5 sec it is automatically powered on again (default settings in libcec). If i disable the libcec, the tv is correctly shutdown.
With version 7.90.10: no issue (libcec is activated by default), when i try to shutdown the tv, it is in fact shutdown!