mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 04:37:06 +00:00
Improve type hints in transmission (#87171)
This commit is contained in:
parent
111a77893e
commit
cdc01fce4c
@ -311,7 +311,9 @@ class TransmissionClient:
|
|||||||
class TransmissionData:
|
class TransmissionData:
|
||||||
"""Get the latest data and update the states."""
|
"""Get the latest data and update the states."""
|
||||||
|
|
||||||
def __init__(self, hass, config, api: transmission_rpc.Client):
|
def __init__(
|
||||||
|
self, hass: HomeAssistant, config: ConfigEntry, api: transmission_rpc.Client
|
||||||
|
) -> None:
|
||||||
"""Initialize the Transmission RPC API."""
|
"""Initialize the Transmission RPC API."""
|
||||||
self.hass = hass
|
self.hass = hass
|
||||||
self.config = config
|
self.config = config
|
||||||
|
Loading…
x
Reference in New Issue
Block a user