Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
bruxy70 committed Nov 6, 2023
1 parent 236aa7b commit 6e76d89
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions custom_components/holidays/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@
import holidays # pylint: disable=import-self
from homeassistant.config_entries import ConfigEntry
from homeassistant.core import HomeAssistant
from homeassistant.helpers.config_validation import (PLATFORM_SCHEMA,
PLATFORM_SCHEMA_BASE)
from homeassistant.helpers.config_validation import (
PLATFORM_SCHEMA,
PLATFORM_SCHEMA_BASE,
)
from homeassistant.helpers.typing import ConfigType

from . import const
Expand All @@ -19,6 +21,7 @@

_LOGGER = logging.getLogger(__name__)


async def async_setup(hass: HomeAssistant, _: ConfigType) -> bool:
"""Set up the platform - inicialize data structure."""
hass.data.setdefault(const.DOMAIN, {})
Expand Down

0 comments on commit 6e76d89

Please sign in to comment.