mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 02:49:40 +00:00
Update typing 16 (#48087)
This commit is contained in:
@@ -43,7 +43,7 @@ class TransmissionSensor(Entity):
|
||||
|
||||
def __init__(self, tm_client, client_name, sensor_name, sub_type=None):
|
||||
"""Initialize the sensor."""
|
||||
self._tm_client = tm_client # type: TransmissionClient
|
||||
self._tm_client: TransmissionClient = tm_client
|
||||
self._client_name = client_name
|
||||
self._name = sensor_name
|
||||
self._sub_type = sub_type
|
||||
|
||||
Reference in New Issue
Block a user