Skip to content

Commit

Permalink
fix doing IO in event loop
Browse files Browse the repository at this point in the history
closes #6
  • Loading branch information
pinkywafer authored May 15, 2020
1 parent 1de1e06 commit 8ae00a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/calendarific/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

holiday_list = []

async def async_setup(hass, config):
def setup(hass, config):
"""Set up platform using YAML."""
if DOMAIN in config:
api_key = config[DOMAIN].get(CONF_API_KEY)
Expand Down

0 comments on commit 8ae00a8

Please sign in to comment.