mirror of
https://github.com/Andre0512/hon.git
synced 2026-06-19 20:36:53 +02:00
Fix mypy checks
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user