diff --git a/crownstone_cloud/cloud_models/crownstones.py b/crownstone_cloud/cloud_models/crownstones.py index 6b1d422..f1dd094 100644 --- a/crownstone_cloud/cloud_models/crownstones.py +++ b/crownstone_cloud/cloud_models/crownstones.py @@ -112,7 +112,7 @@ def __init__(self, cloud, data: Dict[str, Any]) -> None: self.data: Dict[str, Any] = data self.abilities: Dict[str, CrownstoneAbility] = {} # power usage (W) - self.power_usage = None + self.power_usage = 0 @property def name(self) -> str: diff --git a/setup.py b/setup.py index 9943225..e73f80d 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setup( name='crownstone-cloud', - version='1.4.2', + version='1.4.3', long_description=long_description, long_description_content_type="text/markdown", url='https://github.com/crownstone/crownstone-lib-python-cloud',