When an account exist without a subscription "provider" will not exist (#83472)
This commit is contained in:
parent
f6f89b6c5a
commit
8ed6fcd58e
2 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ def async_manage_legacy_subscription_issue(
|
|||
If the provider is "legacy" create an issue,
|
||||
in all other cases remove the issue.
|
||||
"""
|
||||
if subscription_info["provider"] == "legacy":
|
||||
if subscription_info.get("provider") == "legacy":
|
||||
ir.async_create_issue(
|
||||
hass=hass,
|
||||
domain=DOMAIN,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue