mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-09 02:49:51 +00:00
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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user