Bump reolink-aio to 0.7.14 and improve typing of Reolink (#103129)
* Improve typing * fix mypy * Further improve typing * Restore Literal typing * Bump reolink_aio to 0.7.13 * Bump reolink-aio to 0.7.14
This commit is contained in:
parent
c1d979dc07
commit
1df69f52e5
10 changed files with 37 additions and 29 deletions
|
@ -44,7 +44,7 @@ class ReolinkSensorEntityDescription(
|
|||
class ReolinkHostSensorEntityDescriptionMixin:
|
||||
"""Mixin values for Reolink host sensor entities."""
|
||||
|
||||
value: Callable[[Host], int]
|
||||
value: Callable[[Host], int | None]
|
||||
|
||||
|
||||
@dataclass
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue