From cf2f5ebb2eea72ce281f99359ceaa9a1ae9094a0 Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Sat, 12 Aug 2017 15:52:27 -0400 Subject: [PATCH] Add documentation for the mochad light component (#2976) * Add documentation for the mochad light component This commit adds docs for using x10 dimmers and lights via mochad. * Update light.mochad.markdown --- source/_components/light.mochad.markdown | 32 ++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 source/_components/light.mochad.markdown diff --git a/source/_components/light.mochad.markdown b/source/_components/light.mochad.markdown new file mode 100644 index 00000000000..0bf8b817fe6 --- /dev/null +++ b/source/_components/light.mochad.markdown @@ -0,0 +1,32 @@ +--- +layout: page +title: "Mochad Light" +description: "Instructions how to integrate X10 Mochad switches into Home Assistant." +date: 2017-07-14 11:29 +sidebar: true +comments: false +sharing: true +footer: true +ha_category: Light +ha_release: 0.51 +--- + +The `mochad` switch platform lets you control an X10 enabled dimmer/light +device. + +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 +light: + - platform: mochad + devices: + - address: a1 + - address: a5 +``` + +Configuration variables: + +- **address** (*Required*): The X10 address of the light. +- **name** (*Optional*): The name of the switch. Default is: x10_light_dev_*address*. +- **comm_type** (*Optional*): pl (powerline) or rf (radio frequency). Default is pl.