mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +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:
|
||||
"""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."""
|
||||
self.hass = hass
|
||||
self.config = config
|
||||
|
Loading…
x
Reference in New Issue
Block a user