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

# Home Assistant Outlet / smart plug

A Home Assistant switch entity classified as an outlet. This is an integration class, not a physical manufacturer/model or a promise of connected-device availability.

home-assistant/outlet · 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 |
| --- | --- | --- |
| Turn off the plug by my desk. power.outlet Details:   Checked on:  macos What was checked:  Home Assistant documents switching an outlet on and off. Not tried: the adapter is not written. Note:  A plug cannot know what is plugged into it, so cutting its power always waits for a yes. If done carelessly:  Whatever is plugged in loses power at once. It may be a lamp. It may be a computer, a fridge or a server. Route:  home-assistant (planned) Value:  control, on or off  | 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=switch device_class=outlet |

## Sources

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

## In a standard form

The same card as a [W3C Web of Things Thing Model](https://dotcipher.github.io/hardpoint/models/home-assistant-outlet.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/outlet.toml](https://github.com/dotCipher/hardpoint/blob/main/catalog/devices/home-assistant/outlet.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/outlet"
vendor = "Home Assistant"
name = "Outlet / smart plug"
identity = "class"
kind = "plug"
summary = "A Home Assistant switch entity classified as an outlet. This is an integration class, not a physical manufacturer/model or a promise of connected-device availability."
links = ["https://www.home-assistant.io/integrations/switch/"]

[[match]]
bus = "home-assistant"
domain = "switch"
device_class = "outlet"

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

[[capability]]
id = "power.outlet"
adapter = "home-assistant"
risk = "gated"
note = "A plug cannot know what is plugged into it, so cutting its power always waits for a yes."
verification = [{ status = "unverified", platform = "macos", note = "Home Assistant documents switching an outlet on and off. Not tried: the adapter is not written." }]

```
