diff --git a/src/data/thread.ts b/src/data/thread.ts index d999690a686e..26bd38fc8424 100644 --- a/src/data/thread.ts +++ b/src/data/thread.ts @@ -1,6 +1,7 @@ import { HomeAssistant } from "../types"; export interface ThreadRouter { + instance_name: string; addresses: [string]; border_agent_id: string | null; brand: "google" | "apple" | "homeassistant"; diff --git a/src/panels/config/integrations/integration-panels/thread/thread-config-panel.ts b/src/panels/config/integrations/integration-panels/thread/thread-config-panel.ts index e0da88509d49..365343067c9f 100644 --- a/src/panels/config/integrations/integration-panels/thread/thread-config-panel.ts +++ b/src/panels/config/integrations/integration-panels/thread/thread-config-panel.ts @@ -234,7 +234,8 @@ export class ThreadConfigPanel extends SubscribeMixin(LitElement) { @error=${this._onImageError} @load=${this._onImageLoad} /> - ${router.model_name || + ${router.instance_name || + router.model_name || router.server?.replace(".local.", "") || ""} ${router.server}