Skip to content

Commit

Permalink
docs: improved docstring for update() method
Browse files Browse the repository at this point in the history
  • Loading branch information
palazzem committed Oct 12, 2023
1 parent 5debab3 commit 73b6ac1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions custom_components/econnect_metronet/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,9 @@ def update(self):
3. Updates the last known IDs for sectors and inputs.
4. Updates internal state for sectors' and inputs' statuses.
Returns:
dict: A dictionary containing the latest retrieved inventory.
Raises:
HTTPError: If there's an error while making the HTTP request.
ParseError: If there's an error while parsing the response.
Expand Down

0 comments on commit 73b6ac1

Please sign in to comment.