I know this is an old post and stumbled upon it when I was looking for a problem I had.
I've had some weird experiences with LG TV's that do not fully support all HDMI-CEC commands.
I could turn the device on but not off and had to look for another solution. In the end it could be either resolved sending an UDP command via a network cable or RS232 which the screen luckily supported.