POWER: Power source
The POWER entity represents power source types for sites and buildings (e.g. utility grid, generator, UPS, solar, battery).
Default definition. This article describes the default
POWER definition shipped with DemandFlow. Administrators can add, remove, rename, or re-type fields, change which ones are required, and alter the layout from the Definitions screen in Settings. Your tenant's current schema may differ from what is shown here. To read the current definition at any time, GET the DEFINITION object whose id matches POWER.Entity properties
| Property | Value |
|---|---|
| Entity code | POWER |
| Display name | Power source |
| Plural | Power sources |
| Level | 40000 |
Use cases
POWER is a lookup entity referenced by BUILDING (as primaryPowerSource), SITE (as backupPowerType with multi:true), and BUILDING (as backupPowerType) to classify power sources. Values include utility grid feed, diesel generator, natural gas generator, UPS battery, solar, fuel cell, etc. Used in both primary and backup power contexts: a building might have a utility grid primary with diesel generator and UPS battery backup. The multi:true usage on SITE backup power allows declaring multiple backup sources. Simple name and description fields with flat definition structure and grid view.
Fields
General
| Field | Type | Required | Notes |
|---|---|---|---|
name | text | Yes | Name. |
description | text (multi-line) | Description. |
Relationships
- No declared relationships in the default definition.
Creating a Power source via the API
POST /v1/objects
Authorization: Bearer <your-pat>
Content-Type: application/json
{
"entity": "POWER",
"level": 40000,
"comboKey": "SUB:<your-sub-id>|ENT:",
"name": "Example",
"description": "Long description text."
}
Listing POWER records
# All power sources in your tenant
GET /v1/entities/POWER/SUB