Add PowerClamp module with controller and service for energy data retrieval

This commit is contained in:
faris Aljohari
2025-04-14 12:17:44 +03:00
parent 5bc69f869d
commit 3745962827
11 changed files with 172 additions and 2 deletions

View File

@ -482,7 +482,15 @@ export class ControllerRoute {
'This endpoint retrieves all devices in a specified group within a space, based on the group name and space UUID.';
};
};
static PowerClamp = class {
public static readonly ROUTE = 'power-clamp';
static ACTIONS = class {
public static readonly GET_ENERGY_SUMMARY = 'Get power clamp data';
public static readonly GET_ENERGY_DESCRIPTION =
'This endpoint retrieves power clamp data for a specific device.';
};
};
static DEVICE = class {
public static readonly ROUTE = 'devices';