Rename service_data to data to maintain HA compatibility.

This commit is contained in:
Dermot Duffy
2023-10-08 21:17:57 -07:00
parent 972029fac6
commit 9a2eb24d35
46 changed files with 929 additions and 380 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
import { handleActionConfig, hasAction } from 'custom-card-helpers';
import { handleActionConfig, hasAction } from '@dermotduffy/custom-card-helpers';
import { afterEach, describe, expect, it, vi } from 'vitest';
import { mock } from 'vitest-mock-extended';
import { actionSchema } from '../../src/config/types';
@@ -13,7 +13,7 @@ import {
} from '../../src/utils/action';
import { createHASS } from '../test-utils';
vi.mock('custom-card-helpers');
vi.mock('@dermotduffy/custom-card-helpers');
describe('convertActionToFrigateCardCustomAction', () => {
it('should skip null action', () => {