mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-25 04:16:52 +00:00

* Sets front matter defaults * Removes default front matter from section templates/pages * Removes default front matter from addon pages * Removes default front matter from integration pages * Removes default front matter from posts * Removes default front matter from docs pages * Removes default front matter from other pages * Fixes blog category pages
1.2 KiB
1.2 KiB
title, description, logo, ha_category, ha_iot_class, ha_release, redirect_from
title | description | logo | ha_category | ha_iot_class | ha_release | redirect_from | ||
---|---|---|---|---|---|---|---|---|
Lockitron Lock | Instructions on how to integrate Lockitron locks into Home Assistant. | lockitron.png |
|
Cloud Polling | 0.42 |
|
The lockitron
platform allows you to control your Lockitron lock from within Home Assistant.
Setup
In order to get the correct access_token
and id
, log on to their developer page, create a new app, and get the access_token they give you. Then, call the retrieve all locks function on the page and get the id of your lock (make sure you get your lock's id and not the virtual lock they create for you).
Configuration
To enable the lock, add the following lines to your configuration.yaml
file:
lock:
- platform: lockitron
access_token: YOUR_ACCESS_TOKEN
id: YOUR_ID
{% configuration %} access_token: description: The security token provided by Lockitron to lock and unlock your lock. required: true type: string id: description: The lock id given by Lockitron (should be a GUID). required: true type: string {% endconfiguration %}