Improve reolink generic typing (#88786)

Co-authored-by: starkillerOG <starkiller.og@gmail.com>
This commit is contained in:
Marc Mueller 2023-03-06 21:54:34 +01:00 committed by GitHub
parent 83fa4c6c60
commit 84034959ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 49 additions and 40 deletions

View file

@ -19,7 +19,7 @@ from homeassistant.helpers.entity_platform import AddEntitiesCallback
from . import ReolinkData
from .const import DOMAIN
from .entity import ReolinkCoordinatorEntity
from .entity import ReolinkChannelCoordinatorEntity
@dataclass
@ -194,7 +194,7 @@ async def async_setup_entry(
)
class ReolinkNumberEntity(ReolinkCoordinatorEntity, NumberEntity):
class ReolinkNumberEntity(ReolinkChannelCoordinatorEntity, NumberEntity):
"""Base number entity class for Reolink IP cameras."""
entity_description: ReolinkNumberEntityDescription