homeassistant/custom_components/hacs/operational/reload.py

11 lines
343 B
Python
Raw Permalink Normal View History

"""Reload HACS"""
async def async_reload_entry(hass, config_entry):
"""Reload HACS."""
from custom_components.hacs.operational.remove import async_remove_entry
from custom_components.hacs.operational.setup import async_setup_entry
await async_remove_entry(hass, config_entry)
await async_setup_entry(hass, config_entry)