diff --git a/homeassistant/components/caldav/calendar.py b/homeassistant/components/caldav/calendar.py index 6251679b22512f..2bbff2a6bc78e3 100644 --- a/homeassistant/components/caldav/calendar.py +++ b/homeassistant/components/caldav/calendar.py @@ -4,6 +4,7 @@ import logging import re +import caldav import voluptuous as vol from homeassistant.components.calendar import ( @@ -62,8 +63,6 @@ def setup_platform(hass, config, add_entities, disc_info=None): """Set up the WebDav Calendar platform.""" - import caldav - url = config[CONF_URL] username = config.get(CONF_USERNAME) password = config.get(CONF_PASSWORD)