MDK Logo
ReferenceUI KitReactHooks

useCabinetGroups

Fetches the Explorer cabinet-tab devices (powermeters + temperature sensors) and groups them by their owning container (`info.container`); devices without a …

Fetches the Explorer cabinet-tab devices (powermeters + temperature sensors) and groups them by their owning container (`info.container`); devices without a container assignment (site-level meters) collect under the `site` group, sorted la…

import { useCabinetGroups } from "@tetherto/mdk-react-adapter";

Signature

(options: UseCabinetGroupsOptions = {}) => UseCabinetGroupsResult
Package@tetherto/mdk-react-adapter
Requires providerNo