Skip to content

Commit

Permalink
docs: fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
alandtse committed Feb 11, 2020
1 parent 383ce46 commit f38d2e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion teslajsonpy/binary_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,5 +156,5 @@ def has_battery() -> bool:
return False

def get_value(self) -> bool:
"""Return the battery level."""
"""Return the car is online."""
return self.__online_state
2 changes: 1 addition & 1 deletion teslajsonpy/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ async def wake_up(wrapped, instance, args, kwargs) -> Callable:
The command wrapped is run once if the car_id was last reported
online. If wrapped detects the car_id is offline, five attempts
will be made to wake the vehicle to reissue the command.
will be made to wake the vehicle to retry the command.
Raises
RetryLimitError: The wake_up has exceeded the 5 attempts.
Expand Down

0 comments on commit f38d2e6

Please sign in to comment.