You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: "Instructions how to integrate X10 Mochad switches into Home Assistant."
5
+
date: 2017-07-14 11:29
6
+
sidebar: true
7
+
comments: false
8
+
sharing: true
9
+
footer: true
10
+
ha_category: Light
11
+
ha_release: 0.51
12
+
---
13
+
14
+
The `mochad` switch platform lets you control an X10 enabled dimmer/light
15
+
device.
16
+
17
+
To enable this sensor, you first have to set up the [mochad component](/components/mochad/) and then add the following to your `configuration.yaml` file:
18
+
19
+
```yaml
20
+
# Example configuration.yml entry
21
+
light:
22
+
- platform: mochad
23
+
devices:
24
+
- address: a1
25
+
- address: a5
26
+
```
27
+
28
+
Configuration variables:
29
+
30
+
- **address** (*Required*): The X10 address of the light.
31
+
- **name** (*Optional*): The name of the switch. Default is: x10_light_dev_*address*.
32
+
- **comm_type** (*Optional*): pl (powerline) or rf (radio frequency). Default is pl.
0 commit comments