Improve reolink generic typing (#88786)
Co-authored-by: starkillerOG <starkiller.og@gmail.com>
This commit is contained in:
parent
83fa4c6c60
commit
84034959ba
11 changed files with 49 additions and 40 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue