mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 13:45:12 +02:00
Improve type hints in transmission (#87171)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user