Hardpoint

Devices / Outlet / smart plug / Home Assistant

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

AbilityLabelChecked
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
gatedunverified commit

Before it will work

PlatformNeeds
anyA Home Assistant server that this computer may talk to

How it is recognised

BusIdentifiers
home-assistantdomain=switch device_class=outlet

Sources

In a standard form

The same card as a W3C Web of Things Thing Model, for tools that read that standard. Hardpoint's added terms.

The card

This page is made from catalog/devices/home-assistant/outlet.toml. If something is wrong, or you have checked more of it, edit that file.

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." }]