Rename service_data to data to maintain HA compatibility.
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@ import {
|
||||
handleActionConfig,
|
||||
hasAction,
|
||||
HomeAssistant,
|
||||
} from 'custom-card-helpers';
|
||||
} from '@dermotduffy/custom-card-helpers';
|
||||
import {
|
||||
Actions,
|
||||
ActionType,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { HomeAssistant } from 'custom-card-helpers';
|
||||
import { HomeAssistant } from '@dermotduffy/custom-card-helpers';
|
||||
import pkg from '../../package.json';
|
||||
import { RawFrigateCardConfig } from '../config/types';
|
||||
import { getLanguage } from '../localize/localize';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { HomeAssistant } from 'custom-card-helpers';
|
||||
import { HomeAssistant } from '@dermotduffy/custom-card-helpers';
|
||||
import add from 'date-fns/add';
|
||||
import { homeAssistantWSRequest } from '..';
|
||||
import { MemoryRequestCache } from '../../../camera-manager/cache';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { HomeAssistant } from 'custom-card-helpers';
|
||||
import { HomeAssistant } from '@dermotduffy/custom-card-helpers';
|
||||
import { z } from 'zod';
|
||||
import { homeAssistantWSRequest } from '.';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { HomeAssistant } from 'custom-card-helpers';
|
||||
import { HomeAssistant } from '@dermotduffy/custom-card-helpers';
|
||||
import { homeAssistantWSRequest } from '..';
|
||||
import { EntityCache } from './cache';
|
||||
import { Entity, EntityList, entitySchema, entityListSchema } from './types.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { computeDomain, HomeAssistant } from 'custom-card-helpers';
|
||||
import { computeDomain, HomeAssistant } from '@dermotduffy/custom-card-helpers';
|
||||
import { HassEntity } from 'home-assistant-js-websocket';
|
||||
import { Entity } from './entity-registry/types';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { computeDomain, computeStateDomain, HomeAssistant } from 'custom-card-helpers';
|
||||
import { computeDomain, computeStateDomain, HomeAssistant } from '@dermotduffy/custom-card-helpers';
|
||||
import { HassEntity, MessageBase } from 'home-assistant-js-websocket';
|
||||
import { StyleInfo } from 'lit/directives/style-map.js';
|
||||
import { ZodSchema } from 'zod';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { HomeAssistant } from 'custom-card-helpers';
|
||||
import { HomeAssistant } from '@dermotduffy/custom-card-helpers';
|
||||
import QuickLRU from 'quick-lru';
|
||||
import { homeAssistantWSRequest } from '.';
|
||||
import { ResolvedMedia, resolvedMediaSchema } from '../../types.js';
|
||||
|
||||
@@ -5,7 +5,7 @@ import { binarySensorIcon } from './binary-sensor-icon';
|
||||
import { coverIcon } from './cover-icon';
|
||||
import { sensorIcon } from './sensor-icon';
|
||||
|
||||
export const DEFAULT_DOMAIN_ICON = 'mdi:bookmark';
|
||||
const DEFAULT_DOMAIN_ICON = 'mdi:bookmark';
|
||||
|
||||
const FIXED_DOMAIN_ICONS = {
|
||||
alert: 'mdi:alert',
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { UNIT_C, UNIT_F } from 'custom-card-helpers';
|
||||
import { UNIT_C, UNIT_F } from '@dermotduffy/custom-card-helpers';
|
||||
import { HassEntity } from 'home-assistant-js-websocket';
|
||||
|
||||
const FIXED_DEVICE_CLASS_ICONS = {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Task } from '@lit-labs/task';
|
||||
import { ReactiveControllerHost } from '@lit/reactive-element';
|
||||
import { HomeAssistant } from 'custom-card-helpers';
|
||||
import { HomeAssistant } from '@dermotduffy/custom-card-helpers';
|
||||
|
||||
// See: https://github.com/sindresorhus/is-absolute-url
|
||||
// Scheme: https://tools.ietf.org/html/rfc3986#section-3.1
|
||||
|
||||
Reference in New Issue
Block a user