If it weren't for the camera, they wouldn't have burned themselves out.
The dogs learned to watch TV so that when their owners left the house, they turned it on, and when they came, they turned it off in advance. But the whole plan was spoiled by the camera that the owners had installed earlier.