Skip to content

Commit

Permalink
Move imports in caldav component (#27349)
Browse files Browse the repository at this point in the history
  • Loading branch information
exxamalte authored and MartinHjelmare committed Oct 9, 2019
1 parent 3d937bf commit 9ea58b9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions homeassistant/components/caldav/calendar.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import logging
import re

import caldav
import voluptuous as vol

from homeassistant.components.calendar import (
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 9ea58b9

Please sign in to comment.