Update 2020-07-09 This repository is no longer maintained. I do not use this component anymore. I found that my TV would drop the Ethernet connection and require physically unplugging/replugging it to maintain connectivity.
Place the custom_components
folder into your configuration directory
(or add its contents to an existing custom_components
folder).
Alternatively install with HACS.
You will need to perform one-time authentication for the API to work.
This authentication can be performed on your local computer, or on your home-assistant server.
pip install hisensetv
hisensetv 10.0.0.28 --authorize
See newAM/hisensetv for more details.
switch:
- platform: hisensetv
host: 10.0.0.28
mac: ab:cd:ef:12:34:56
name: tv
host
is the (static) IP address of your TV.mac
if the TVs MAC address for Wake on LAN (WOL).
This is provided as-is. This is my first time going this deep into homeassistant and I have no idea if I have horribly messed something up.