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 |
useEnergyBalanceViewModel
Computes the full EnergyBalance view model from raw API data, managing tab selection and display-mode state.
useExplorerData
Explorer list data hook: fetches the things behind one tab (@link useExplorerList) and shapes them for `DeviceExplorer` — applying the toolbar's search + fil…