Improve rainbird
generic typing (#84642)
This commit is contained in:
parent
a06b1eaf69
commit
24a34b1739
3 changed files with 17 additions and 13 deletions
|
@ -113,7 +113,9 @@ async def async_setup_platform(
|
|||
)
|
||||
|
||||
|
||||
class RainBirdSwitch(CoordinatorEntity, SwitchEntity):
|
||||
class RainBirdSwitch(
|
||||
CoordinatorEntity[RainbirdUpdateCoordinator[States]], SwitchEntity
|
||||
):
|
||||
"""Representation of a Rain Bird switch."""
|
||||
|
||||
def __init__(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue