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