Prevent SensorEntity and RestoreEntity inheritance (#88971)

This commit is contained in:
epenet 2023-05-24 12:49:35 +02:00 committed by GitHub
parent db33aadcbb
commit c475273145
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 128 additions and 0 deletions

View file

@ -78,6 +78,7 @@ async def async_setup_entry(
)
# pylint: disable-next=hass-invalid-inheritance # needs fixing
class SpeedtestSensor(
CoordinatorEntity[SpeedTestDataCoordinator], RestoreEntity, SensorEntity
):