chore: Enforce import order via @ianvs/prettier-plugin-sort-imports (#2542)
This commit is contained in:
committed by
dermotduffy
parent
95f35bd326
commit
a96dc2e863
@@ -1,4 +1,5 @@
|
||||
import { cloneDeep, get, isEqual, set, unset } from 'lodash-es';
|
||||
|
||||
import {
|
||||
CONF_AUTOMATIONS,
|
||||
CONF_CAMERAS,
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { cardIDRegex } from '../common/const';
|
||||
|
||||
// https://www.home-assistant.io/dashboards/actions/#options-for-confirmation
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { actionBaseSchema } from '../base';
|
||||
|
||||
export const advancedCameraCardCustomActionsBaseSchema = actionBaseSchema.extend({
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { advancedCameraCardCustomActionsBaseSchema } from './base';
|
||||
|
||||
export const callAnswerActionConfigSchema =
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { advancedCameraCardCustomActionsBaseSchema } from './base';
|
||||
|
||||
export const callEndActionConfigSchema =
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { advancedCameraCardCustomActionsBaseSchema } from './base';
|
||||
|
||||
export const callStartActionConfigSchema =
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { advancedCameraCardCustomActionsBaseSchema } from './base';
|
||||
|
||||
export const cameraSelectActionConfigSchema =
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { viewDisplayModeSchema } from '../../common/display';
|
||||
import { advancedCameraCardCustomActionsBaseSchema } from './base';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { EffectName } from '../../../../types';
|
||||
import { advancedCameraCardCustomActionsBaseSchema } from './base';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { advancedCameraCardCustomActionsBaseSchema } from './base';
|
||||
|
||||
const GENERAL_ACTIONS = [
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { advancedCameraCardCustomActionsBaseSchema } from './base';
|
||||
|
||||
// An action that can be used internally to call a callback (it is not possible
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { advancedCameraCardCustomActionsBaseSchema } from './base';
|
||||
|
||||
const LOG_ACTIONS_LEVELS = ['debug', 'info', 'warn', 'error'] as const;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { advancedCameraCardCustomActionsBaseSchema } from './base';
|
||||
|
||||
export const mediaPlayerActionConfigSchema =
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { PTZ_CONTROL_TYPES } from '../../common/controls/ptz';
|
||||
import { advancedCameraCardCustomActionsBaseSchema } from './base';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { panSchema } from '../../common/pan';
|
||||
import { zoomSchema } from '../../common/zoom';
|
||||
import { advancedCameraCardCustomActionsBaseSchema } from './base';
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { advancedCameraCardCustomActionsBaseSchema } from './base';
|
||||
import { PTZ_ACTION_PHASES, PTZ_ACTIONS } from './ptz';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { advancedCameraCardCustomActionsBaseSchema } from './base';
|
||||
|
||||
const PTZ_PAN_ACTIONS = ['left', 'right'] as const;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { advancedCameraCardCustomActionsBaseSchema } from './base';
|
||||
|
||||
export const setReviewActionConfigSchema =
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { advancedCameraCardCustomActionsBaseSchema } from './base';
|
||||
|
||||
const timeDeltaSchema = z.object({
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { advancedCameraCardCustomActionsBaseSchema } from './base';
|
||||
|
||||
export const substreamOffActionConfigSchema =
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { advancedCameraCardCustomActionsBaseSchema } from './base';
|
||||
|
||||
export const substreamOnActionConfigSchema =
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { VIEWS_USER_SPECIFIED } from '../../common/const';
|
||||
import { advancedCameraCardCustomActionsBaseSchema } from './base';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { actionBaseSchema } from '../base';
|
||||
import { targetSchema } from './target';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { actionBaseSchema } from '../base';
|
||||
|
||||
export const customActionSchema = actionBaseSchema
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { actionBaseSchema } from '../base';
|
||||
|
||||
export const moreInfoActionSchema = actionBaseSchema.extend({
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { actionBaseSchema } from '../base';
|
||||
|
||||
export const navigateActionSchema = actionBaseSchema.extend({
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { actionBaseSchema } from '../base';
|
||||
|
||||
export const noneActionSchema = actionBaseSchema.extend({
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { actionBaseSchema } from '../base';
|
||||
import { targetSchema } from './target';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { actionBaseSchema } from '../base';
|
||||
|
||||
export const toggleActionSchema = actionBaseSchema.extend({
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { actionBaseSchema } from '../base';
|
||||
|
||||
export const urlActionSchema = actionBaseSchema.extend({
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { linkSchema } from '../common/link';
|
||||
import { preprocessToArray } from '../common/preprocess-to-array';
|
||||
import { severitySchema } from '../common/severity';
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { isRecord } from '../../utils/basic';
|
||||
import { actionConfigSchema } from './actions/types';
|
||||
import { preprocessToArray } from './common/preprocess-to-array';
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { panSchema } from '../common/pan';
|
||||
import { zoomSchema } from '../common/zoom';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { performActionActionSchema } from '../actions/stock/perform-action';
|
||||
|
||||
export const ptzCameraConfigDefaults = {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { capabilityKeys } from '../../types';
|
||||
import { mediaLayoutConfigSchema } from './camera/media-layout';
|
||||
import { ptzCameraConfigDefaults, ptzCameraConfigSchema } from './camera/ptz';
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { AUTO_HIDE_CONDITIONS } from '../auto-hide';
|
||||
import { BUTTON_SIZE_MIN } from '../const';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { stringOrArray } from './string-or-array';
|
||||
|
||||
// Filter on the event's `context` (HA's three fixed fields). Each defined field
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { SEVERITIES } from '../../../severity';
|
||||
|
||||
export const severitySchema = z.enum(SEVERITIES);
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { STATUS_BAR_PRIORITY_DEFAULT, STATUS_BAR_PRIORITY_MAX } from './const';
|
||||
|
||||
export const statusBarItemBaseSchema = z.object({
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { viewDisplayModeSchema } from '../../common/display';
|
||||
|
||||
export const displayModeBaseSchema = z.object({
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { timePeriodSchema } from '../../common/time-period';
|
||||
|
||||
// Fields shared by the `state` condition AND trigger.
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { regexSchema } from '../../common/regex';
|
||||
|
||||
export const userAgentBaseSchema = z.object({
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { enabledSchema } from '../common/enabled';
|
||||
|
||||
export const conditionBaseSchema = z.object({
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { callBaseSchema } from '../../common/call';
|
||||
import { conditionBaseSchema } from '../base';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { cameraBaseSchema } from '../../common/camera';
|
||||
import { conditionBaseSchema } from '../base';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { viewDisplayModeSchema } from '../../../common/display';
|
||||
import { displayModeBaseSchema } from '../../common/display-mode';
|
||||
import { conditionBaseSchema } from '../base';
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { expandBaseSchema } from '../../common/expand';
|
||||
import { conditionBaseSchema } from '../base';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { fullscreenBaseSchema } from '../../common/fullscreen';
|
||||
import { conditionBaseSchema } from '../base';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { initializedBaseSchema } from '../../common/initialized';
|
||||
import { conditionBaseSchema } from '../base';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { interactionBaseSchema } from '../../common/interaction';
|
||||
import { conditionBaseSchema } from '../base';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { keyBaseSchema } from '../../common/key';
|
||||
import { conditionBaseSchema } from '../base';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { mediaLoadedBaseSchema } from '../../common/media-loaded';
|
||||
import { conditionBaseSchema } from '../base';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { microphoneBaseSchema } from '../../common/microphone';
|
||||
import { conditionBaseSchema } from '../base';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { triggeredBaseSchema } from '../../common/triggered';
|
||||
import { conditionBaseSchema } from '../base';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { userAgentBaseSchema } from '../../common/user-agent';
|
||||
import { conditionBaseSchema } from '../base';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { viewBaseSchema } from '../../common/view';
|
||||
import { conditionBaseSchema } from '../base';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { stringOrArray } from '../../../common/string-or-array';
|
||||
|
||||
// Shared by the stock `state`/`numeric_state` conditions: the card accepts both
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { hasAboveOrBelow, numericStateBaseSchema } from '../../common/numeric-state';
|
||||
import { conditionBaseSchema } from '../base';
|
||||
import { entityConditionBaseSchema } from './entity-base';
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { screenBaseSchema } from '../../common/screen';
|
||||
import { conditionBaseSchema } from '../base';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { stringOrArray } from '../../../common/string-or-array';
|
||||
import { stateBaseSchema } from '../../common/state';
|
||||
import { conditionBaseSchema } from '../base';
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { conditionBaseSchema } from '../base';
|
||||
|
||||
// https://www.home-assistant.io/docs/scripts/conditions/#template-condition
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { numericStateConditionSchema } from './numeric-state';
|
||||
import { screenConditionSchema } from './screen';
|
||||
import { stateConditionSchema } from './state';
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { userBaseSchema } from '../../common/user';
|
||||
import { conditionBaseSchema } from '../base';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { isRecord } from '../../../../utils/basic';
|
||||
import { preprocessToArray } from '../../common/preprocess-to-array';
|
||||
import { conditionBaseSchema } from './base';
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { enabledSchema } from '../common/enabled';
|
||||
|
||||
// Universal trigger fields. Current the card does not support
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { callBaseSchema } from '../../common/call';
|
||||
import { triggerBaseSchema } from '../base';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { cameraBaseSchema } from '../../common/camera';
|
||||
import { triggerBaseSchema } from '../base';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { configBaseSchema } from '../../common/config';
|
||||
import { triggerBaseSchema } from '../base';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { displayModeBaseSchema } from '../../common/display-mode';
|
||||
import { triggerBaseSchema } from '../base';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { expandBaseSchema } from '../../common/expand';
|
||||
import { triggerBaseSchema } from '../base';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { fullscreenBaseSchema } from '../../common/fullscreen';
|
||||
import { triggerBaseSchema } from '../base';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { initializedBaseSchema } from '../../common/initialized';
|
||||
import { triggerBaseSchema } from '../base';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { interactionBaseSchema } from '../../common/interaction';
|
||||
import { triggerBaseSchema } from '../base';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { keyBaseSchema } from '../../common/key';
|
||||
import { triggerBaseSchema } from '../base';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { mediaLoadedBaseSchema } from '../../common/media-loaded';
|
||||
import { triggerBaseSchema } from '../base';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { microphoneBaseSchema } from '../../common/microphone';
|
||||
import { triggerBaseSchema } from '../base';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { screenBaseSchema } from '../../common/screen';
|
||||
import { triggerBaseSchema } from '../base';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { triggeredBaseSchema } from '../../common/triggered';
|
||||
import { triggerBaseSchema } from '../base';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { viewBaseSchema } from '../../common/view';
|
||||
import { triggerBaseSchema } from '../base';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { stringOrArray } from '../../../common/string-or-array';
|
||||
|
||||
// Shared by the stock `state`/`numeric_state` conditions: the card accepts both
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { haEventSchema } from '../../../common/ha-event';
|
||||
import { triggerBaseSchema } from '../base';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { timePeriodSchema } from '../../../common/time-period';
|
||||
import {
|
||||
aboveNotGreaterThanBelow,
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import { z } from 'zod';
|
||||
import { stateBaseSchema } from '../../common/state';
|
||||
|
||||
import { stringOrArray } from '../../../common/string-or-array';
|
||||
import { stateBaseSchema } from '../../common/state';
|
||||
import { triggerBaseSchema } from '../base';
|
||||
import { entityTriggerBaseSchema } from './entity-base';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { timePeriodSchema } from '../../../common/time-period';
|
||||
import { triggerBaseSchema } from '../base';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { callTriggerSchema } from './custom/call';
|
||||
import { cameraTriggerSchema } from './custom/camera';
|
||||
import { configTriggerSchema } from './custom/config';
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { aspectRatioSchema } from './common/aspect-ratio';
|
||||
|
||||
const dimensionsConfigDefault = {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { actionsBaseSchema } from '../actions/types';
|
||||
|
||||
export const elementsBaseSchema = actionsBaseSchema.extend({
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { MENU_PRIORITY_DEFAULT, MENU_PRIORITY_MAX } from '../../../common/const';
|
||||
|
||||
export const menuBaseSchema = z.object({
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { iconSchema } from '../../stock/icon';
|
||||
import { menuBaseSchema } from './base';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { stateIconSchema } from '../../stock/state-icon';
|
||||
import { menuBaseSchema } from './base';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { stateIconSchema } from '../../stock/state-icon';
|
||||
import { menuBaseSchema } from './base';
|
||||
import { menuSubmenuItemSchema } from './submenu';
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { elementsBaseSchema } from '../../base';
|
||||
import { iconSchema } from '../../stock/icon';
|
||||
import { menuBaseSchema } from './base';
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { elementsBaseSchema } from '../base';
|
||||
|
||||
// https://www.home-assistant.io/dashboards/picture-elements/#icon-element
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { elementsBaseSchema } from '../base';
|
||||
|
||||
// https://www.home-assistant.io/dashboards/picture-elements/#image-element
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { elementsBaseSchema } from '../base';
|
||||
|
||||
// https://www.home-assistant.io/dashboards/picture-elements/#service-call-button
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { elementsBaseSchema } from '../base';
|
||||
|
||||
// https://www.home-assistant.io/dashboards/picture-elements/#state-badge
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { elementsBaseSchema } from '../base';
|
||||
|
||||
// https://www.home-assistant.io/dashboards/picture-elements/#state-icon
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import { elementsBaseSchema } from '../base';
|
||||
|
||||
// https://www.home-assistant.io/dashboards/picture-elements/#state-label
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
import {
|
||||
statusBarIconItemSchema,
|
||||
statusBarImageItemSchema,
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { NonEmptyTuple } from 'type-fest';
|
||||
import { z } from 'zod';
|
||||
|
||||
import { AdvancedCameraCardError } from '../../types';
|
||||
import { isTruthy } from '../../utils/basic';
|
||||
import { regexSchema } from './common/regex';
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user