Skip to content

Commit f8ce204

Browse files
Matthew Garrettfabaff
Matthew Garrett
authored andcommitted
Add documentation for Leviton Decora dimmer switches (home-assistant#1822)
1 parent f57aedf commit f8ce204

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
layout: page
3+
title: "Decora"
4+
description: "Instructions on how to setup Leviton Decora Bluetooth dimmers within Home Assistant."
5+
date: 2017-01-18 22:45
6+
sidebar: true
7+
comments: false
8+
sharing: true
9+
footer: true
10+
ha_category: Light
11+
ha_iot_class: "Local Polling"
12+
featured: false
13+
ha_release: 0.37
14+
---
15+
16+
Support for the Decora Bluetooth dimmer switch [Leviton](http://www.leviton.com/OA_HTML/SectionDisplay.jsp?section=76697&minisite=10251). To enable these lights, add the following lines to your `configuration.yaml` file:
17+
18+
```yaml
19+
# Example configuration.yaml entry
20+
light:
21+
- platform: decora
22+
devices:
23+
00:21:4D:00:00:01:
24+
name: Light 1
25+
api_key: 0x12345678
26+
00:21:3D:20:00:a1:
27+
name: Bulb 2
28+
api_key: 0x54321876
29+
```
30+
31+
Configuration variables:
32+
33+
- **devices**: A list of devices with their bluetooth address, a custom name to use in the frontend and the API key. The API key can be obtained by downloading [this git repository](https://github.com/mjg59/python-decora) and running the read_key.py script with the Bluetooth address of the switch as the first argument. Hold the switch in the off position until the green status LED starts flashing before running the script. The output is the API key.

0 commit comments

Comments
 (0)