mirror of
https://github.com/Andre0512/hon.git
synced 2025-05-13 06:34:22 -04:00
Fix mypy checks
This commit is contained in:
parent
3aadb840ab
commit
f007777689
6 changed files with 12 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue