Error if TV is off
If my LG TV is offline the log show an error instead of switched off:

 webOS - Error: connect EHOSTUNREACH 192.168.1.31:3000
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1128:14) {
  errno: 'EHOSTUNREACH',
  code: 'EHOSTUNREACH',
  syscall: 'connect',
  address: '192.168.1.31',
  port: 3000
}

everything works fine but the log looks not clean