From 7bfa72e7ace2cc8576b4203aba9ed5a305ac1db4 Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Wed, 23 Oct 2024 15:14:11 +0200 Subject: [PATCH] Update voice wizard (#22472) --- .../voice-assistant-setup/voice-assistant-setup-dialog.ts | 2 +- .../voice-assistant-setup/voice-assistant-setup-step-check.ts | 4 ++-- .../voice-assistant-setup/voice-assistant-setup-step-cloud.ts | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/dialogs/voice-assistant-setup/voice-assistant-setup-dialog.ts b/src/dialogs/voice-assistant-setup/voice-assistant-setup-dialog.ts index 3e68ca302925..2fabe74db113 100644 --- a/src/dialogs/voice-assistant-setup/voice-assistant-setup-dialog.ts +++ b/src/dialogs/voice-assistant-setup/voice-assistant-setup-dialog.ts @@ -9,6 +9,7 @@ import { computeDomain } from "../../common/entity/compute_domain"; import "../../components/ha-dialog"; import type { AssistSatelliteConfiguration } from "../../data/assist_satellite"; import { fetchAssistSatelliteConfiguration } from "../../data/assist_satellite"; +import { UNAVAILABLE } from "../../data/entity"; import type { EntityRegistryDisplayEntry } from "../../data/entity_registry"; import { haStyleDialog } from "../../resources/styles"; import type { HomeAssistant } from "../../types"; @@ -21,7 +22,6 @@ import "./voice-assistant-setup-step-pipeline"; import "./voice-assistant-setup-step-success"; import "./voice-assistant-setup-step-update"; import "./voice-assistant-setup-step-wake-word"; -import { UNAVAILABLE } from "../../data/entity"; export const enum STEP { INIT, diff --git a/src/dialogs/voice-assistant-setup/voice-assistant-setup-step-check.ts b/src/dialogs/voice-assistant-setup/voice-assistant-setup-step-check.ts index bc0e760e4fde..a12a243c2e87 100644 --- a/src/dialogs/voice-assistant-setup/voice-assistant-setup-step-check.ts +++ b/src/dialogs/voice-assistant-setup/voice-assistant-setup-step-check.ts @@ -1,11 +1,11 @@ import { html, LitElement, nothing, type PropertyValues } from "lit"; import { customElement, property, state } from "lit/decorators"; import { fireEvent } from "../../common/dom/fire_event"; +import "../../components/ha-button"; +import "../../components/ha-circular-progress"; import { testAssistSatelliteConnection } from "../../data/assist_satellite"; import type { HomeAssistant } from "../../types"; import { AssistantSetupStyles } from "./styles"; -import "../../components/ha-circular-progress"; -import "../../components/ha-button"; @customElement("ha-voice-assistant-setup-step-check") export class HaVoiceAssistantSetupStepCheck extends LitElement { diff --git a/src/dialogs/voice-assistant-setup/voice-assistant-setup-step-cloud.ts b/src/dialogs/voice-assistant-setup/voice-assistant-setup-step-cloud.ts index ac6201d7ca54..5162ed97eeaa 100644 --- a/src/dialogs/voice-assistant-setup/voice-assistant-setup-step-cloud.ts +++ b/src/dialogs/voice-assistant-setup/voice-assistant-setup-step-cloud.ts @@ -2,11 +2,11 @@ import { mdiEarth, mdiMicrophoneMessage, mdiOpenInNew } from "@mdi/js"; import { css, html, LitElement } from "lit"; import { customElement, property } from "lit/decorators"; import { fireEvent } from "../../common/dom/fire_event"; +import "../../components/ha-button"; +import "../../components/ha-svg-icon"; import type { HomeAssistant } from "../../types"; import { brandsUrl } from "../../util/brands-url"; import { AssistantSetupStyles } from "./styles"; -import "../../components/ha-button"; -import "../../components/ha-svg-icon"; @customElement("ha-voice-assistant-setup-step-cloud") export class HaVoiceAssistantSetupStepCloud extends LitElement {