mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-24 13:27:22 +00:00
Refresh cloud status if paying sub info comes in (#1822)
This commit is contained in:
parent
11f4564465
commit
b129d5fb08
@ -190,6 +190,9 @@ class HaConfigCloudAccount extends EventsMixin(LocalizeMixin(PolymerElement)) {
|
||||
|
||||
async _fetchSubscriptionInfo() {
|
||||
this._subscription = await this.hass.callWS({ type: "cloud/subscription" });
|
||||
if (this._subscription.provider && this.cloudStatus.cloud !== "connected") {
|
||||
this.fire("ha-refresh-cloud-status");
|
||||
}
|
||||
}
|
||||
|
||||
handleLogout() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user