Typing fixes (#12015)

* .gitignore: Add .mypy_cache

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

View file

@ -69,7 +69,8 @@ class IHCBinarySensor(IHCDevice, BinarySensorDevice):
"""
def __init__(self, ihc_controller, name, ihc_id: int, info: bool,
sensor_type: str, inverting: bool, product: Element=None):
sensor_type: str, inverting: bool,
product: Element=None) -> None:
"""Initialize the IHC binary sensor."""
super().__init__(ihc_controller, name, ihc_id, info, product)
self._state = None