Skip to content

Commit 6ef1509

Browse files
committed
fix: Read Average
Although the effort was done to create an average with outlier dection, it was never actually used. This switches the function call over
1 parent 577fcb5 commit 6ef1509

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

filament_scale_enhanced/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def check_weight(self):
108108
self._logger.debug("Begin hxRead")
109109
try:
110110
self.hx.power_up()
111-
v = self.hx.read()
111+
v = self.hx.read_average()
112112
self.last_weight = v
113113
self._plugin_manager.send_plugin_message(self._identifier, v)
114114
self.hx.power_down()

0 commit comments

Comments
 (0)