Mochad Switch


The mochad switch platform lets you control an X10 enabled switch device.

Configuration

To enable this sensor, you first have to set up the mochad component and then add the following to your configuration.yaml file:

# Example configuration.yaml entry
switch:
  - platform: mochad
    devices:
      - address: a1
      - address: a5

Configuration Variables

address

(string)(Required)The X10 address of the switch.

name

(string)(Optional)The name of the switch.

Default value: x10switch_devaddress

comm_type

(string)(Optional)pl (powerline) or rf (radio frequency).

Default value: pl