Typing fixes (#12015)

* .gitignore: Add .mypy_cache

* Typing fixes
This commit is contained in:
Ville Skyttä authored and Paulus Schoutsen committed 2018-01-29 00:24:08 -08:00
1 parent 78a3c01f27
commit 384f63dd1d
23 files changed
+33 -21

No files matched your search

@@ -75,7 +75,7 @@ def get_scanner(hass, config):
class UnifiScanner(DeviceScanner):
"""Provide device_tracker support from Unifi WAP client data."""
def __init__(self, controller, detection_time: timedelta):
def __init__(self, controller, detection_time: timedelta) -> None:
"""Initialize the scanner."""
self._detection_time = detection_time
self._controller = controller