Skip to content

Commit

Permalink
Added getter for online state.
Browse files Browse the repository at this point in the history
  • Loading branch information
sander1988 committed May 30, 2024
1 parent 72f28a2 commit f5e6801
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pyIndego/indego_base_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@ def __init__(
self.user = None

# Properties
@property
def online(self):
"""Return the online state of this client."""
return self._online

@property
def serial(self):
"""Return the serial number of the mower."""
Expand Down

0 comments on commit f5e6801

Please sign in to comment.