From ebd364155987926a5b033062c70b47613e2e70ea Mon Sep 17 00:00:00 2001 From: Jean-Francois Roy Date: Thu, 16 Mar 2023 22:24:56 -0700 Subject: [PATCH] (bug) Rename VOLATILE_ROPERTIES This is a breaking change to the module API, but since it is not at 1.x, it is allowed and expected. --- aiobafi6/device.py | 6 +++--- pyproject.toml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/aiobafi6/device.py b/aiobafi6/device.py index 426cb91..30ea43a 100644 --- a/aiobafi6/device.py +++ b/aiobafi6/device.py @@ -29,11 +29,11 @@ ) __all__ = ( - "VOLATILE_ROPERTIES", + "VOLATILE_PROPERTIES", "Device", ) -VOLATILE_ROPERTIES = ( +VOLATILE_PROPERTIES = ( "current_rpm", "local_datetime", "stats", @@ -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) diff --git a/pyproject.toml b/pyproject.toml index f5c39a9..1350f82 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 "] license = "Apache-2.0"