home-assistant.io/source/_components/light.x10.markdown
2016-09-20 17:09:59 +02:00

37 lines
869 B
Markdown

---
layout: page
title: "X10"
description: "Instructions how to setup X10 devices within Home Assistant."
date: 2016-07-27
sidebar: true
comments: false
sharing: true
footer: true
logo: x10.gif
ha_category: Light
ha_iot_class: "Local Polling"
ha_release: 0.25
---
The `x10` light platform allows you to control your X10 based lights with Home Assistant.
Requires [Heyu x10 interface](http://www.heyu.org).
To enable those lights, add the following lines to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry
light:
- platform: x10
devices:
- name: Living Room Lamp
id: a2
- name: Bedroom Lamp
id: a3
```
Configuration variables:
- **id** (*Required*): Device identifier. Composed of house code und unit id.
- **name** (*Optional*): A friendly name for the device. By default *id* from the device is used.