Mochad
The mochad
integration is the main integration to integrate all X10 platforms being controlled by mochad. Besides this integration you will have to setup your X10 devices separately.
There is currently support for the following device types within Home Assistant:
Configuration
To integrate your Mochad units with Home Assistant, add the following section to your configuration.yaml
file:
# Example configuration.yaml entry
mochad:
Example
A full configuration sample could look like the one below:
# Example configuration.yaml entry
mochad:
host: localhost
port: 1099
Light
The mochad
light platform lets you control an X10 enabled dimmer/light device.
To enable this sensor, you first have to set up the mochad integration and then add the following to your configuration.yaml
file:
# Example configuration.yaml entry
light:
- platform: mochad
devices:
- address: a1
- address: a5
Switch
The mochad
switch platform lets you control an X10 enabled switch device.
To enable this sensor, you first have to set up the mochad integration and then add the following to your configuration.yaml
file:
# Example configuration.yaml entry
switch:
- platform: mochad
devices:
- address: a1
- address: a5