UNPKG

@hakit/core

Version:

A collection of React hooks and helpers for Home Assistant to easily communicate with the Home Assistant WebSocket API.

7 lines (6 loc) 165 B
import { snakeCase as s } from "lodash"; const m = (o) => s(o.substr(0, o.indexOf("."))); export { m as computeDomain }; //# sourceMappingURL=computeDomain.js.map