Skip to content

Commit

Permalink
Merge pull request #2 from skweeker/ReplaceHomeAssistantType
Browse files Browse the repository at this point in the history
syntax
  • Loading branch information
skweeker authored Dec 24, 2024
2 parents 3f23ec8 + d30e0f3 commit b1fc82c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/calendarific/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import voluptuous as vol

from homeassistant.config_entries import ConfigEntry
import homeassistant.core.HomeAssistant
from homeassistant.core import HomeAssistant

from homeassistant import config_entries
import homeassistant.helpers.config_validation as cv
Expand Down Expand Up @@ -53,7 +53,7 @@ def setup(hass, config):
return True


async def async_setup_entry(hass, entry: ConfigEntry):
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry):
hass.async_create_task(
hass.config_entries.async_forward_entry_setup(entry, "sensor")
)
Expand Down

0 comments on commit b1fc82c

Please sign in to comment.