Update add assistant dialog (#16266)

* Update add assistant dialog

* fix default agent to ha when no supported

* Update ha-tts-voice-picker.ts

* Update assist-pipeline-detail-conversation.ts

* Update ha-dialog.ts

* dont override config

* Update ha-language-picker.ts
This commit is contained in:
Bram Kragten
2023-04-22 02:41:30 +02:00
committed by GitHub
parent 878f3b8df4
commit 85a27e8bb1
19 changed files with 225 additions and 119 deletions

View File

@@ -75,8 +75,9 @@ export class HaSelector extends LitElement {
@property() public context?: Record<string, any>;
public focus() {
this.shadowRoot?.getElementById("selector")?.focus();
public async focus() {
await this.updateComplete;
(this.renderRoot.querySelector("#selector") as HTMLElement)?.focus();
}
private get _type() {