Remove IHC XML Element from discovery data (#15719)

This commit is contained in:
Jens Østergaard Nielsen authored and Martin Hjelmare committed 2018-07-28 19:37:12 +02:00
1 parent 29e668e887
commit 867f80715e
6 files changed
+12 -18

No files matched your search

@@ -3,8 +3,6 @@
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/binary_sensor.ihc/
"""
from xml.etree.ElementTree import Element
import voluptuous as vol
from homeassistant.components.binary_sensor import (
@@ -70,7 +68,7 @@ class IHCBinarySensor(IHCDevice, BinarySensorDevice):
def __init__(self, ihc_controller, name, ihc_id: int, info: bool,
sensor_type: str, inverting: bool,
product: Element = None) -> None:
product=None) -> None:
"""Initialize the IHC binary sensor."""
super().__init__(ihc_controller, name, ihc_id, info, product)
self._state = None