mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
more-info-camera: disable "download_snapshot" if idle (#25027)
* disable download_snapshot if idle * prettier
This commit is contained in:
parent
f4e3fdb98e
commit
6793753755
@ -45,7 +45,8 @@ class MoreInfoCamera extends LitElement {
|
||||
<ha-progress-button
|
||||
@click=${this._downloadSnapshot}
|
||||
.progress=${this._waiting}
|
||||
.disabled=${this.stateObj.state === UNAVAILABLE}
|
||||
.disabled=${this.stateObj.state === UNAVAILABLE ||
|
||||
this.stateObj.state === "idle"}
|
||||
>
|
||||
${this.hass.localize(
|
||||
"ui.dialogs.more_info_control.camera.download_snapshot"
|
||||
|
Loading…
x
Reference in New Issue
Block a user