Skip to content

Commit

Permalink
Fix startup with 0.118dev (#1623)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco authored and ludeeus committed Nov 4, 2020
1 parent 967cecc commit 4d5eecb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion custom_components/hacs/operational/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
from custom_components.hacs.enums import HacsStage
from aiogithubapi import AIOGitHubAPIException, GitHub
from homeassistant import config_entries
from homeassistant.components.lovelace import system_health_info
from homeassistant.const import EVENT_HOMEASSISTANT_STARTED
from homeassistant.const import __version__ as HAVERSION
from homeassistant.exceptions import ConfigEntryNotReady
Expand Down Expand Up @@ -33,6 +32,11 @@
)
from custom_components.hacs.share import get_hacs

try:
from homeassistant.components.lovelace import system_health_info
except ImportError:
from homeassistant.components.lovelace.system_health import system_health_info


async def _async_common_setup(hass):
"""Common setup stages."""
Expand Down

0 comments on commit 4d5eecb

Please sign in to comment.