Skip to content

Commit

Permalink
(bug) Rename VOLATILE_ROPERTIES
Browse files Browse the repository at this point in the history
This is a breaking change to the module API, but since it is not at 1.x,
it is allowed and expected.
  • Loading branch information
jfroy committed Mar 17, 2023
1 parent b53a4e2 commit ebd3641
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions aiobafi6/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
)

__all__ = (
"VOLATILE_ROPERTIES",
"VOLATILE_PROPERTIES",
"Device",
)

VOLATILE_ROPERTIES = (
VOLATILE_PROPERTIES = (
"current_rpm",
"local_datetime",
"stats",
Expand All @@ -57,7 +57,7 @@

def _clear_volatile_props(props: aiobafi6_pb2.Properties):
"""Clear volatile properties from `props`."""
for field in VOLATILE_ROPERTIES:
for field in VOLATILE_PROPERTIES:
props.ClearField(field)


Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "aiobafi6"
version = "0.8.0"
version = "0.8.1"
description = "Big Ass Fans i6/Haiku protocol asynchronous Python library"
authors = ["Jean-Francois Roy <[email protected]>"]
license = "Apache-2.0"
Expand Down

0 comments on commit ebd3641

Please sign in to comment.