mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-04 10:08:57 +00:00

* e.g. to e.g., and proper case for Home Assistant * Instructions how to -> Instructions on how to
35 lines
1.1 KiB
Markdown
35 lines
1.1 KiB
Markdown
---
|
|
layout: page
|
|
title: "Mochad Light"
|
|
description: "Instructions on how to integrate X10 Mochad lights 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` light 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 light. Default is: x10_light_dev_*address*.
|
|
- **comm_type** (*Optional*): pl (powerline) or rf (radio frequency). Default is pl.
|
|
- **brightness_levels** (*Optional*): 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)
|