https://developers.home-assistant.io/docs/en/creating_component_loading.html
To enable this switch, add the following lines to your configuration.yaml file:
switch:
- platform: blebox_switchbox
host: IP_ADDRESS
Configuration variables:
- host (Required): The IP address of your switchBox(D), eg. 192.168.1.32
- type (Optional): The device type (switchBox or switchBoxD). If not set, will be detected automatically
- name (Optional): The name to use when displaying this switch. If not set, will be used relay name from the device
- relay (Optional): The number of the relay. Default is 0, for switchBoxD you can set 0 or 1
To enable this switch, add the following lines to your configuration.yaml file:
light:
- platform: blebox_wlightbox
host: IP_ADDRESS
Configuration variables:
- host (Required): The IP address of your wLightBox, eg. 192.168.1.32
- name (Optional): The name to use when displaying this switch. If not set, will be used the device name