Fix camera stream rendering in area card without picture (#10815)

This commit is contained in:
Philip Allgaier 2021-12-06 19:39:09 +01:00 committed by GitHub
parent 7ccde2cb41
commit e8b9766eb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -367,7 +367,7 @@ export class HuiAreaCard
}
return html`
<ha-card class=${area.picture ? "image" : ""}>
<ha-card class=${area.picture || cameraEntityId ? "image" : ""}>
${area.picture || cameraEntityId
? html`<hui-image
.config=${this._config}

View File

@ -3256,7 +3256,7 @@
"area": {
"name": "Area",
"description": "The Area card automatically displays entities of a specific area.",
"show_camera": "Show camera feed instead of area image"
"show_camera": "Show camera feed instead of area picture"
},
"calendar": {
"name": "Calendar",