Added documentation for new lock support

This commit is contained in:
miniconfig 2015-11-21 09:43:47 -05:00
parent a2128d6fb5
commit f689e39b57
5 changed files with 48 additions and 1 deletions

View File

@ -0,0 +1,27 @@
---
layout: component
title: "Locks"
description: "Instructions how to setup your locks with Home Assistant."
date: 2015-11-21 08:10
sidebar: true
comments: false
sharing: true
footer: true
---
Keeps track which locks are in your environment, their state and allows you to control them.
* Maintains a state per lock and a combined state `all_locks`.
* Registers services `lock/lock` and `lock/unlock` to control locks.
### {% linkable_title Use the services %}
Go the the **Developer Tools**, then to **Call Service** in the frontend, and choose `lock/lock` or `lock/unlock` from the list of available services (**Available services:** on the left). Enter something like the sample below into the **Service Data** field and hit **CALL SERVICE**.
```json
{"entity_id":"lock.front_door"}
```
| Service data attribute | Optional | Description |
| ---------------------- | -------- | ----------- |
| `entity_id` | yes | Only act on specific lock. Else targets all.

View File

@ -0,0 +1,18 @@
---
layout: component
title: "Wink lock"
description: "Instructions how to setup the Wink locks within Home Assistant."
date: 2015-11-20 12:00
sidebar: true
comments: false
sharing: true
footer: true
logo: wink.png
ha_category: Lock
---
The wink lock platform allows you to control your [Wink](http://www.wink.com/) locks.
The requirement is that you have setup your [Wink hub](/components/wink/).

View File

@ -18,7 +18,7 @@ featured: true
Wink offers one, quick and simple way to connect people with the products they rely on every day in their home.
</blockquote>
Home Assistant integrates the Wink hub and allows you to get the status and control connected switches, lights and sensors.
Home Assistant integrates the Wink hub and allows you to get the status and control connected switches, lights, locks, and sensors.
To get started with the Wink API, you will first need to get yourself an API access token. Because it is very difficult right now to get access to their API, John McLaughlin has created the form below to get you one.

View File

@ -0,0 +1 @@
<script>document.location = '/components/lock/';</script>

View File

@ -0,0 +1 @@
<script>document.location = '/components/lock.wink/';</script>