mirror of
https://github.com/home-assistant/core.git
synced 2025-07-10 06:47:09 +00:00
Fix KeyError in IQVIA (#49968)
This commit is contained in:
parent
29d72714f3
commit
91e41a0cc2
@ -38,6 +38,7 @@ PLATFORMS = ["sensor"]
|
|||||||
|
|
||||||
async def async_setup_entry(hass, entry):
|
async def async_setup_entry(hass, entry):
|
||||||
"""Set up IQVIA as config entry."""
|
"""Set up IQVIA as config entry."""
|
||||||
|
hass.data.setdefault(DOMAIN, {})
|
||||||
coordinators = {}
|
coordinators = {}
|
||||||
|
|
||||||
if not entry.unique_id:
|
if not entry.unique_id:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user