Remove type checking of config entry in Mastodon (#123467)

Remove type checking of configentry
This commit is contained in:
Andrew Jackson
2024-08-09 16:28:55 +02:00
committed by GitHub
parent aee5d5126f
commit e6e985af24
@@ -3,7 +3,6 @@
from __future__ import annotations
from dataclasses import dataclass
from typing import TYPE_CHECKING
from mastodon.Mastodon import Mastodon, MastodonError
@@ -38,9 +37,6 @@ class MastodonData:
type MastodonConfigEntry = ConfigEntry[MastodonData]
if TYPE_CHECKING:
from . import MastodonConfigEntry
async def async_setup_entry(hass: HomeAssistant, entry: MastodonConfigEntry) -> bool:
"""Set up Mastodon from a config entry."""