MDK Logo
UI Kitreact-devkitHooks

useEnergyReportSite

Merges site energy consumption (v2 /auth/metrics/consumption) with snapshot tail-log and container list data for the Energy report site tab.

Merges site energy consumption (v2 /auth/metrics/consumption) with snapshot tail-log and container list data for the Energy report site tab.

import { useEnergyReportSite } from "@tetherto/mdk-react-devkit";

Signature

({ dateRange: _dateRange, consumptionLog, consumptionLoading, consumptionFetching, consumptionError, nominalPowerAvailabilityMw, nominalConfigLoading, tailLog, tailLogLoading, containers, containersLoading, }: UseEnergyReportSiteInput) => U… /* see source */
Package@tetherto/mdk-react-devkit