Skip to content

Commit cf2f5eb

Browse files
mtreinishballoob
authored andcommitted
Add documentation for the mochad light component (home-assistant#2976)
* Add documentation for the mochad light component This commit adds docs for using x10 dimmers and lights via mochad. * Update light.mochad.markdown
1 parent aea22b5 commit cf2f5eb

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
layout: page
3+
title: "Mochad Light"
4+
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

Comments
 (0)