[Solved] LG webOS: "connection lost" when to select the right HDMI input

Use the console to set the log level to DEBUG and see if that provides a clue to whats causing the warning.

Also you have some long thread sleeps in your rule.
See this topic: