Skip to content

Commit

Permalink
fix: change sensor_type of update sensor to None
Browse files Browse the repository at this point in the history
Required for HA inclusion.
  • Loading branch information
alandtse committed Jul 21, 2020
1 parent 44eeda4 commit e8bfca7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion teslajsonpy/binary_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def __init__(self, data: Dict, controller) -> None:
"""
super().__init__(data, controller)
self.type: Text = "update available sensor"
self._sensor_type = "problem"
self._sensor_type = None
self.name = self._name()
self.uniq_name = self._uniq_name()

Expand Down

0 comments on commit e8bfca7

Please sign in to comment.