[Devices](https://dotcipher.github.io/hardpoint/devices.html) / [Lock](https://dotcipher.github.io/hardpoint/devices.html?kind=lock) / [Home Assistant](https://dotcipher.github.io/hardpoint/devices.html?maker=Home%20Assistant)

# Home Assistant Lock

A lock entity exposed through Home Assistant. This describes an integration class, not a manufacturer or physical model; availability depends on the entity's route and supported features.

home-assistant/lock · Class card: An integration entity class, not a physical manufacturer/model or a promise that its adapter works.

## What it can do

| Ability | Label | Checked |
| --- | --- | --- |
| Unlock the front door. access.unlock Details:   Checked on:  macos What was checked:  Home Assistant documents unlocking a lock. Not tried: the adapter is not written. If done carelessly:  The door stays open to anyone until somebody locks it again. Route:  home-assistant (planned) Value:  action, none  | gated | unverified [commit](https://github.com/dotCipher/hardpoint/commit/621f8f2455dc219c2935caef0f772605972814b6) |

## Before it will work

| Platform | Needs |
| --- | --- |
| any | A Home Assistant server that this computer may talk to  |

## How it is recognised

| Bus | Identifiers |
| --- | --- |
| home-assistant | domain=lock |

## Sources

- [www.home-assistant.io](https://www.home-assistant.io/integrations/lock/)

## In a standard form

The same card as a [W3C Web of Things Thing Model](https://dotcipher.github.io/hardpoint/models/home-assistant-lock.tm.jsonld), for tools that read that standard. [Hardpoint's added terms](https://dotcipher.github.io/hardpoint/ns.html).

## The card

This page is made from [catalog/devices/home-assistant/lock.toml](https://github.com/dotCipher/hardpoint/blob/main/catalog/devices/home-assistant/lock.toml). If something is wrong, or you have checked more of it, [edit that file](https://dotcipher.github.io/hardpoint/add.html).

```
card = 1

# A class card. It is not one model: it gives every device Home Assistant
# classes this way the same labels, until a card for the exact model says more.

[device]
id = "home-assistant/lock"
vendor = "Home Assistant"
name = "Lock"
identity = "class"
kind = "lock"
summary = "A lock entity exposed through Home Assistant. This describes an integration class, not a manufacturer or physical model; availability depends on the entity's route and supported features."
links = ["https://www.home-assistant.io/integrations/lock/"]

[[match]]
bus = "home-assistant"
domain = "lock"

[[requires]]
platform = "any"
what = "A Home Assistant server that this computer may talk to"

[[capability]]
id = "access.unlock"
adapter = "home-assistant"
risk = "gated"
verification = [{ status = "unverified", platform = "macos", note = "Home Assistant documents unlocking a lock. Not tried: the adapter is not written." }]

```
