Skip to content

Commit

Permalink
Merge pull request #121 from cyberden/master
Browse files Browse the repository at this point in the history
Fix card not refreshing
  • Loading branch information
ikaruswill authored May 18, 2023
2 parents f05559a + 8fe0290 commit e0a3977
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xiaomi-fan-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ export class FanXiaomiCard extends LitElement {
return false;
} else if (!this.isConfigureAsyncFinished && this.hass) {
this.configureAsync();
return false;
return this.isConfigureAsyncFinished;
}

const oldHass = changedProps.get("hass") as HomeAssistant | undefined;
Expand Down

0 comments on commit e0a3977

Please sign in to comment.