Skip to content

Commit

Permalink
Render error if mover is unavailable
Browse files Browse the repository at this point in the history
  • Loading branch information
Barma-lej committed Nov 11, 2024
1 parent 945a2c0 commit 6191dd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/landroid-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -1014,7 +1014,7 @@ class LandroidCard extends LitElement {
* @return {TemplateResult} The rendered HTML template.
*/
render() {
if (!this.entity) {
if (!this.entity || this.entity.state === consts.UNAVAILABLE) {
return html`
<ha-card>
<div class="preview not-available">
Expand Down

0 comments on commit 6191dd6

Please sign in to comment.