mirror of
https://github.com/Andre0512/hon.git
synced 2025-05-13 14:44:23 -04:00
Fix mypy checks
This commit is contained in:
parent
3aadb840ab
commit
f007777689
6 changed files with 12 additions and 11 deletions
|
@ -34,13 +34,13 @@ from .hon import HonEntity, unique_entities, get_readable
|
|||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
||||
@dataclass
|
||||
@dataclass(frozen=True)
|
||||
class HonConfigSensorEntityDescription(SensorEntityDescription):
|
||||
entity_category: EntityCategory = EntityCategory.DIAGNOSTIC
|
||||
option_list: dict[int, str] | None = None
|
||||
|
||||
|
||||
@dataclass
|
||||
@dataclass(frozen=True)
|
||||
class HonSensorEntityDescription(SensorEntityDescription):
|
||||
option_list: dict[int, str] | None = None
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue