mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 16:27:19 +00:00
Added documentation for new lock support
This commit is contained in:
parent
a2128d6fb5
commit
f689e39b57
27
source/_components/lock.markdown
Normal file
27
source/_components/lock.markdown
Normal 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.
|
18
source/_components/lock.wink.markdown
Normal file
18
source/_components/lock.wink.markdown
Normal 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/).
|
||||||
|
|
@ -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.
|
Wink offers one, quick and simple way to connect people with the products they rely on every day in their home.
|
||||||
</blockquote>
|
</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.
|
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.
|
||||||
|
|
||||||
|
1
source/components/lock.html
Normal file
1
source/components/lock.html
Normal file
@ -0,0 +1 @@
|
|||||||
|
<script>document.location = '/components/lock/';</script>
|
1
source/components/lock.wink.html
Normal file
1
source/components/lock.wink.html
Normal file
@ -0,0 +1 @@
|
|||||||
|
<script>document.location = '/components/lock.wink/';</script>
|
Loading…
x
Reference in New Issue
Block a user