This integration shows how you would go ahead and integrate a physical light into Home Assistant.
Copy this folder to <config_dir>/custom_components/ali_ip_relay/
.
Add the following entry in your configuration.yaml
:
light:
- platform: ali_ip_relay
ip: IP_HERE
port: PORT_HERE