diff --git a/src/cards/ha-media_player-card.js b/src/cards/ha-media_player-card.js index af250d1f2e..131fed1bbf 100644 --- a/src/cards/ha-media_player-card.js +++ b/src/cards/ha-media_player-card.js @@ -188,6 +188,7 @@ class HaMediaPlayerCard extends LocalizeMixin(EventsMixin(PolymerElement)) {
stateObj !== undefined && !STATES_OFF.includes(stateObj.state); @@ -35,11 +36,13 @@ class HaEntityToggle extends LitElement { if (this.stateObj.attributes.assumed_state) { return html` diff --git a/src/components/ha-camera-stream.ts b/src/components/ha-camera-stream.ts index f60e0b8c86..b4ee4247c7 100644 --- a/src/components/ha-camera-stream.ts +++ b/src/components/ha-camera-stream.ts @@ -55,7 +55,9 @@ class HaCameraStream extends LitElement { .src=${__DEMO__ ? `/api/camera_proxy_stream/${this.stateObj.entity_id}` : computeMJPEGStreamUrl(this.stateObj)} - .alt=${computeStateName(this.stateObj)} + .alt=${`Preview of the ${computeStateName( + this.stateObj + )} camera.`} /> ` : html` diff --git a/src/components/ha-sidebar.ts b/src/components/ha-sidebar.ts index b5eb5294d8..8bb0bcc131 100644 --- a/src/components/ha-sidebar.ts +++ b/src/components/ha-sidebar.ts @@ -68,6 +68,7 @@ const computePanels = (hass: HomeAssistant) => { const renderPanel = (hass, panel) => html` - +
`} + ` : html` - + ${hass.localize("ui.sidebar.log_out")}

-
+ + Home Assistant logo + +
Home Assistant
${hass.config.version}

diff --git a/src/panels/lovelace/components/hui-entities-toggle.ts b/src/panels/lovelace/components/hui-entities-toggle.ts index b135cd854e..2d5feeaa8b 100644 --- a/src/panels/lovelace/components/hui-entities-toggle.ts +++ b/src/panels/lovelace/components/hui-entities-toggle.ts @@ -41,6 +41,7 @@ class HuiEntitiesToggle extends LitElement { return html` diff --git a/src/panels/lovelace/hui-root.ts b/src/panels/lovelace/hui-root.ts index ab1144e4b5..53c7467b93 100644 --- a/src/panels/lovelace/hui-root.ts +++ b/src/panels/lovelace/hui-root.ts @@ -144,6 +144,7 @@ class HUIRoot extends LitElement { horizontal-offset="-5" >