Commands  ›  Small Power Layout  ›  Small Power Add Bedside Sockets From Config

Small Power Add Bedside Sockets From Config

Small Power Layout writes to model Public API · not yet exposed

Coming soon

Before you run this

Small-power config has a bedside spec for the room type (sockets, USB count, height, family). Bedrooms placed and have a Bed Count parameter (or Room Type that implies bed count). Socket families loaded.

After it runs

Bedside sockets placed each side of every bed in the selected rooms with the correct mounting height + circuit reference; mirroring respected for twin-bed rooms.

When to use this

Don't use this when

Desk-side sockets (use the desk-sockets command), bathroom / shaver sockets (separate command), or rooms where the bed positions aren't yet placed.

Inputs

NameKindTypeRequiredDefaultDescription
PresetKind config string no "placement_config" Deterministic config preset

Decision flow

1. Read each selected bedroom's Bed Count and Room Type parameters.
2. Look up the bedside spec from the project config (sockets + USB count + height + family).
3. Detect bed positions in each room (or split the room into halves for twin layouts).
4. Place bedside sockets each side of every bed in one Transaction; set heights + circuit reference.
5. Report counts per room and any rooms skipped (e.g. no Bed Count).

What you'll see in the chat

on start
I'll add bedside sockets to those bedrooms now — reading bed counts first.
thinking
Looking up the bedside spec for each room type and finding bed positions.
on success
Done — {n_placed} bedside sockets placed across {n_rooms} bedrooms, mirrored for twin layouts where needed.
on failure
Couldn't add bedside sockets: {error}.

REST API

Not yet exposed

This command does not carry a [RestApi] attribute today. Once tagged, this section will auto-populate with:

  • POST /api/v1/commands/small_power_add_bedside_sockets_from_config
  • Request body schema (from [RestApiParam])
  • Response schema (from [RestApiResponse])
  • curl / JS / Python code examples

Keywords & intent patterns

bedside sockets · hotel small power · residential power · bedroom sockets · USB sockets

PillarSmall Power Layout