forked from home-assistant/core
Fix KeyError in IQVIA (#49968)
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user