Revert #25027 "more-info-camera: disable download_snapshot if idle" (#25643)

remove a check for "idle"
This commit is contained in:
ildar170975 2025-05-30 10:59:03 +03:00 committed by GitHub
parent 6730d08b85
commit b30fa122ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -45,8 +45,7 @@ class MoreInfoCamera extends LitElement {
<ha-progress-button <ha-progress-button
@click=${this._downloadSnapshot} @click=${this._downloadSnapshot}
.progress=${this._waiting} .progress=${this._waiting}
.disabled=${this.stateObj.state === UNAVAILABLE || .disabled=${this.stateObj.state === UNAVAILABLE}
this.stateObj.state === "idle"}
> >
${this.hass.localize( ${this.hass.localize(
"ui.dialogs.more_info_control.camera.download_snapshot" "ui.dialogs.more_info_control.camera.download_snapshot"