mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-04-30 16:27:37 +00:00

The CM19A is an RF device and will not work unless the correct comm_type is added to the configuration. Support for comm_type is already implemented in homeassistant/components/switch/mochad.py, but it is undocumented.
889 B
889 B
layout | title | description | date | sidebar | comments | sharing | footer | ha_category | ha_iot_class | ha_release |
---|---|---|---|---|---|---|---|---|---|---|
page | Mochad Switch | Instructions how to integrate X10 Mochad switches into Home Assistant. | 2016-10-20 21:13 | true | false | true | true | Switch | depends | 0.32 |
The mochad
switch platform lets you control an X10 enabled switch device.
To enable this sensor, you first have to set up the mochad component and then add the following to your configuration.yaml
file:
# Example configuration.yml entry
switch:
- platform: mochad
devices:
- address: a1
- address: a5
Configuration variables:
- address (Required): The X10 address of the switch.
- name (Optional): The name of the switch. Default is: x10_switch_dev_address.
- comm_type (Optional): pl (powerline) or rf (radio frequency). Default is pl.