Skip to content

Commit

Permalink
Add properties to check min/max power
Browse files Browse the repository at this point in the history
  • Loading branch information
fredericvl committed Feb 6, 2021
1 parent 3927267 commit 3061390
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions py_agua_iot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,14 @@ def gas_temperature(self):
def real_power(self):
return int(self.__get_information_item('real_power_get'))

@property
def min_power(self):
return int(self.__get_information_item_min('power_set'))

@property
def max_power(self):
return int(self.__get_information_item_max('power_set'))

@property
def set_power(self):
return int(self.__get_information_item('power_set'))
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="py-agua-iot",
version="0.0.4",
version="0.0.5",
author="Frederic Van Linthoudt",
author_email="[email protected]",
description="py-agua-iot provides controlling heating devices connected via the IOT Agua platform of Micronova",
Expand Down

0 comments on commit 3061390

Please sign in to comment.