Skip to content

Commit

Permalink
Fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
Bre77 committed Nov 6, 2024
1 parent b444cfe commit 62e1c25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/teslemetry/device_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,6 @@ def _async_update_attrs(self) -> None:
def location_name(self) -> str | None:
"""Return a location name for the current location of the device."""
location = self.get("drive_state_active_route_destination")
if location === "Home":
if location == "Home":
return STATE_HOME
return location

0 comments on commit 62e1c25

Please sign in to comment.