Skip to content

Commit

Permalink
add weight property
Browse files Browse the repository at this point in the history
  • Loading branch information
zweckj committed Nov 6, 2024
1 parent 4e6565f commit 61d20c8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions pyacaia_async/acaiascale.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@ def device_state(self) -> AcaiaDeviceState | None:
"""Return the device info of the scale."""
return self._device_state

@property
def weight(self) -> float | None:
"""Return the weight of the scale."""
return self._weight

@classmethod
async def create(
cls,
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="pyacaia_async",
version="0.0.12b3",
version="0.0.12b4",
description="An async implementation of PyAcaia",
long_description=readme,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit 61d20c8

Please sign in to comment.