UNPKG

extra-map-card

Version:

Lovelace custom map card for Home Assistant

6 lines (5 loc) 367 B
import type { HassEntity } from 'home-assistant-js-websocket'; /** Compute the object ID of a state. */ export declare const computeObjectId: (entityId: string) => string; export declare const computeStateNameFromEntityAttributes: (entityId: string, attributes: Record<string, any>) => string; export declare const computeStateName: (stateObj: HassEntity) => string;