Commands  ›  Small Power Layout  ›  Small Power Add Bathroom Shaver Sockets From Config

Small Power Add Bathroom Shaver Sockets From Config

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

Coming soon

Before you run this

Bathrooms placed with a Room Type identifying them. Wash basins (or the basin face) modelled or marked so the command can read Zone 2 distances. Shaver socket family loaded.

After it runs

One shaver socket per bathroom (or per basin where the spec calls for it), placed outside Zone 2 at the configured height, on the dedicated shaver circuit; audit entry written.

When to use this

Don't use this when

Wet rooms / shower-only spaces where shaver sockets aren't permitted, kitchen sockets (separate command), or bathrooms without a basin modelled — those need bespoke placement.

Inputs

NameKindTypeRequiredDefaultDescription
PresetKind config string no "placement_config" Deterministic config preset

Decision flow

1. Find every bathroom or en-suite room in the selection.
2. Read basin positions and BS 7671 Zone 2 envelopes around each.
3. Pick a wall position that lies outside every basin's Zone 2.
4. Place the shaver socket in one Transaction with the configured height and circuit reference.
5. Report sockets placed and any bathrooms skipped (e.g. no basin modelled, no compliant wall position).

What you'll see in the chat

on start
I'll add shaver sockets to those bathrooms now — checking BS 7671 zones first.
thinking
Reading basin positions and excluding Zone 2 from valid socket positions.
on success
Done — {n_placed} shaver sockets placed in {n_bathrooms} bathrooms outside Zone 2.
on failure
Couldn't add shaver 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_bathroom_shaver_sockets_from_config
  • Request body schema (from [RestApiParam])
  • Response schema (from [RestApiResponse])
  • curl / JS / Python code examples

Keywords & intent patterns

shaver socket · bathroom small power · BS 7671 zoning · en-suite sockets · shaver circuit

PillarSmall Power Layout