mirror of
https://github.com/Andre0512/hon.git
synced 2026-06-19 18:06:53 +02:00
Fix mypy checks
This commit is contained in:
@@ -18,12 +18,12 @@ from .hon import HonEntity, unique_entities, get_readable
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
||||
@dataclass
|
||||
@dataclass(frozen=True)
|
||||
class HonSelectEntityDescription(SelectEntityDescription):
|
||||
option_list: dict[int, str] | None = None
|
||||
|
||||
|
||||
@dataclass
|
||||
@dataclass(frozen=True)
|
||||
class HonConfigSelectEntityDescription(SelectEntityDescription):
|
||||
entity_category: EntityCategory = EntityCategory.CONFIG
|
||||
option_list: dict[int, str] | None = None
|
||||
|
||||
Reference in New Issue
Block a user