Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Bre77 committed Aug 30, 2024
1 parent 5c774a5 commit 14ea3d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/teslemetry/binary_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ def __init__(

def _handle_stream_update(self, data) -> None:
"""Handle the data update."""
# This is the wrong place to do this logic, move it to the init later
if "vehicle_data" in data:
return
if data.get("state") is not None:
Expand Down

0 comments on commit 14ea3d9

Please sign in to comment.