Fix KeyError in IQVIA (#49968)

This commit is contained in:
Aaron Bach
2021-05-01 17:56:50 -06:00
committed by Paulus Schoutsen
parent 21a5d5959c
commit d927932c47

View File

@@ -38,6 +38,7 @@ PLATFORMS = ["sensor"]
async def async_setup_entry(hass, entry):
"""Set up IQVIA as config entry."""
hass.data.setdefault(DOMAIN, {})
coordinators = {}
if not entry.unique_id: