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
@click=${this._downloadSnapshot}
.progress=${this._waiting}
.disabled=${this.stateObj.state === UNAVAILABLE ||
this.stateObj.state === "idle"}
.disabled=${this.stateObj.state === UNAVAILABLE}
>
${this.hass.localize(
"ui.dialogs.more_info_control.camera.download_snapshot"