Skip to content

Commit

Permalink
Missing variables in device.properties
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianTremblay committed Sep 6, 2021
1 parent 3640637 commit 791a1b7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions BAC0/core/devices/Device.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ def __init__(self):
self.save_resampling = "1s"
self.clear_history_on_save = None
self.bacnet_properties = {}
self.auto_save = None
self.fast_polling = False
self.vendor_id = 0


def __repr__(self):
return "{}".format(self.asdict)
Expand Down
2 changes: 1 addition & 1 deletion BAC0/core/devices/Points.py
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ def __repr__(self):
val = float(self.value)
except ValueError:
self._log.error(
"Cannot convert value {}. Device probably disconnected".format(
"Cannot convert value {}. Device probably disconnected or the response is inconsistent".format(
self.value
)
)
Expand Down
2 changes: 1 addition & 1 deletion BAC0/infos.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
__email__ = "christian.tremblay@servisys.com"
__url__ = "https://github.com/ChristianTremblay/BAC0"
__download_url__ = "https://github.com/ChristianTremblay/BAC0/archive/master.zip"
__version__ = "21.07.30dev2"
__version__ = "21.09.06dev2"
__license__ = "LGPLv3"

0 comments on commit 791a1b7

Please sign in to comment.