diff --git a/teslajsonpy/homeassistant/binary_sensor.py b/teslajsonpy/homeassistant/binary_sensor.py index a7fa447f..061e3e42 100644 --- a/teslajsonpy/homeassistant/binary_sensor.py +++ b/teslajsonpy/homeassistant/binary_sensor.py @@ -38,7 +38,7 @@ def __init__(self, data: Dict, controller): self.type = "binary sensor" self.hass_type = "binary_sensor" - self._sensor_type = "connectivity" + self._sensor_type = None self.name = self._name() self.uniq_name = self._uniq_name() @@ -87,7 +87,7 @@ def __init__(self, data: Dict, controller): self.__state = None self.type = "parking brake sensor" self.hass_type = "binary_sensor" - self._sensor_type = "power" + self._sensor_type = None self.name = self._name() self.uniq_name = self._uniq_name() @@ -143,7 +143,7 @@ def __init__(self, data, controller): self.__state = None self.type = "charger sensor" self.hass_type = "binary_sensor" - self._sensor_type = "connectivity" + self._sensor_type = None self.name = self._name() self.uniq_name = self._uniq_name()