Improve systemmonitor generic typing (#108220)

pull/108252/head
Marc Mueller 2024-01-17 18:19:10 +01:00 committed by GitHub
parent 64496b802a
commit 3d410a1d6e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -737,12 +737,12 @@ class SystemMonitorSensor(CoordinatorEntity[MonitorCoordinator[dataT]], SensorEn
_attr_has_entity_name = True
_attr_entity_category = EntityCategory.DIAGNOSTIC
entity_description: SysMonitorSensorEntityDescription
entity_description: SysMonitorSensorEntityDescription[dataT]
def __init__(
self,
coordinator: MonitorCoordinator,
sensor_description: SysMonitorSensorEntityDescription,
coordinator: MonitorCoordinator[dataT],
sensor_description: SysMonitorSensorEntityDescription[dataT],
entry_id: str,
argument: str,
legacy_enabled: bool = False,