mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-21 00:06:35 +00:00
Fix camera stream rendering in area card without picture (#10815)
This commit is contained in:
parent
7ccde2cb41
commit
e8b9766eb6
@ -367,7 +367,7 @@ export class HuiAreaCard
|
|||||||
}
|
}
|
||||||
|
|
||||||
return html`
|
return html`
|
||||||
<ha-card class=${area.picture ? "image" : ""}>
|
<ha-card class=${area.picture || cameraEntityId ? "image" : ""}>
|
||||||
${area.picture || cameraEntityId
|
${area.picture || cameraEntityId
|
||||||
? html`<hui-image
|
? html`<hui-image
|
||||||
.config=${this._config}
|
.config=${this._config}
|
||||||
|
@ -3256,7 +3256,7 @@
|
|||||||
"area": {
|
"area": {
|
||||||
"name": "Area",
|
"name": "Area",
|
||||||
"description": "The Area card automatically displays entities of a specific 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": {
|
"calendar": {
|
||||||
"name": "Calendar",
|
"name": "Calendar",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user