Skip to content

Commit

Permalink
Rename rear windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Bre77 committed Jan 11, 2025
1 parent 3f5d8f8 commit a529f8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions teslemetry_stream/vehicle.py
Original file line number Diff line number Diff line change
Expand Up @@ -1264,7 +1264,7 @@ def listen_RatedRange(self, callback: Callable[[float | None], None]) -> Callabl
{"vin":self.vin, "data": {Signal.RATED_RANGE: None}}
)

def listen_RdWindow(self, callback: Callable[[str | None], None]) -> Callable[[],None]:
def listen_RearDriverWindow(self, callback: Callable[[str | None], None]) -> Callable[[],None]:
"""Listen for Rear Driver Window State."""
return self.stream.async_add_listener(
lambda x: callback(WindowState.get(x['data'][Signal.RD_WINDOW])),
Expand Down Expand Up @@ -1320,7 +1320,7 @@ def listen_RouteTrafficMinutesDelay(self, callback: Callable[[int | None], None]
{"vin":self.vin, "data": {Signal.ROUTE_TRAFFIC_MINUTES_DELAY: None}}
)

def listen_RpWindow(self, callback: Callable[[str | None], None]) -> Callable[[],None]:
def listen_RearPassengerWindow(self, callback: Callable[[str | None], None]) -> Callable[[],None]:
"""Listen for Rear Passenger Window State."""
return self.stream.async_add_listener(
lambda x: callback(WindowState.get(x['data'][Signal.RP_WINDOW])),
Expand Down

0 comments on commit a529f8b

Please sign in to comment.