home-assistant.io/source/_components/light.mochad.markdown
Klaas Schoute e8cbe07067 Update Mochad light and switch component configuration variable (#6680)
* Update Mochad light and switch component configuration variable

Update style of Mochad light and switch component documentation to follow new configuration variables description.
Related to #6385.

* 🚑 Bugfix

*  Undo last change

* 🚑 Fix

* 🚑 Fix round 2
2018-10-11 21:43:02 +02:00

1.2 KiB

layout title description date sidebar comments sharing footer ha_category ha_release
page Mochad Light Instructions on how to integrate X10 Mochad lights into Home Assistant. 2017-07-14 11:29 true false true true Light 0.51

The mochad light platform lets you control an X10 enabled dimmer/light 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.yaml entry
light:
  - platform: mochad
    devices:
      - address: a1
      - address: a5

{% configuration %} address: description: The X10 address of the light. required: true type: string name: description: The name of the light. required: false default: x10_light_dev_address type: string comm_type: description: pl (powerline) or rf (radio frequency). required: false default: pl type: string brightness_levels: description: The number of brightness levels the X10 light device supports. This can either be 32, 64, or 256 (note that the max value sent to the device will be n-1 because it starts at 0). required: false default: 32 type: integer {% endconfiguration %}