mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-14 21:06:34 +00:00
parent
96c5fdcbeb
commit
7bf0655dae
@ -188,14 +188,17 @@ class MoreInfoMediaPlayer extends LitElement {
|
|||||||
<div class="tts">
|
<div class="tts">
|
||||||
<paper-input
|
<paper-input
|
||||||
id="ttsInput"
|
id="ttsInput"
|
||||||
|
.disabled=${UNAVAILABLE_STATES.includes(stateObj.state)}
|
||||||
.label=${this.hass.localize(
|
.label=${this.hass.localize(
|
||||||
"ui.card.media_player.text_to_speak"
|
"ui.card.media_player.text_to_speak"
|
||||||
)}
|
)}
|
||||||
@keydown=${this._ttsCheckForEnter}
|
@keydown=${this._ttsCheckForEnter}
|
||||||
></paper-input>
|
></paper-input>
|
||||||
<ha-icon-button icon="hass:send" @click=${
|
<ha-icon-button
|
||||||
this._sendTTS
|
icon="hass:send"
|
||||||
}></ha-icon-button>
|
.disabled=${UNAVAILABLE_STATES.includes(stateObj.state)}
|
||||||
|
@click=${this._sendTTS}
|
||||||
|
></ha-icon-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
`
|
`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user