mochad switch platform lets you control an X10 enabled dimmer/light
To enable this sensor, you first have to set up the mochad component and then add the following to your
# Example configuration.yml entry light: - platform: mochad devices: - address: a1 - address: a5
- address (Required): The X10 address of the light.
- name (Optional): The name of the switch. Default is: x10light_devaddress.
- comm_type (Optional): pl (powerline) or rf (radio frequency). Default is pl.