Home automation for tv, nest, lightwaverf, etc