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

Remove type checking of configentry
pull/123480/head
Andrew Jackson 2024-08-09 15:28:55 +01:00 committed by GitHub
parent aee5d5126f
commit e6e985af24
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 4 deletions

View File

@ -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."""