Add ha_release and other minor changes
This commit is contained in:
parent
95cb4cb70b
commit
9813fe71c2
2 changed files with 23 additions and 20 deletions
|
@ -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*.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue