Skip to content

Commit

Permalink
add string representation of ApplianceValues
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrike committed Sep 16, 2024
1 parent 13095fc commit d2fa8c8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pydaikin/values.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ def __iter__(self):
def __len__(self):
return len(self._data)

def __str__(self):
return f"{self._data}"

# --- Custom methods to use smart updates ---
def get(
self, key: str, default=None, *, invalidate: bool = True
Expand Down

0 comments on commit d2fa8c8

Please sign in to comment.