Add ha_release and other minor changes

This commit is contained in:
Fabian Affolter 2016-10-25 14:24:01 +02:00
parent 95cb4cb70b
commit 9813fe71c2
No known key found for this signature in database
GPG key ID: DDF3D6F44AAB1336
2 changed files with 23 additions and 20 deletions

View file

@ -9,24 +9,24 @@ sharing: true
footer: true
ha_category: Switch
ha_iot_class: depends
ha_release: 0.32
---
The `mochad` switch platform lets you control an X10 enabled switch device.
To enable this switch in your installation, add the following to your `configuration.yaml` file:
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:
```yaml
# Example configuration.yml entry
switch:
- platform: mochad
devices:
- name: Switch A
address: a1
- name: Living Room Lamp
address: a5
- address: a1
- address: a5
```
Configuration variables:
- **name** (*Optional*): The name of the switch. Default is: x10_switch_dev_*address*
- **address** (*Required*): The X10 address of the switch
- **address** (*Required*): The X10 address of the switch.
- **name** (*Optional*): The name of the switch. Default is: x10_switch_dev_*address*.