Skip to content

Commit 5bc2b3d

Browse files
committed
Convert actuator values to float.
1 parent f220dca commit 5bc2b3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

myDevices/plugins/manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def write_value(self, plugin, channel, value):
105105
info('Write value {} to {}'.format(value, actuator))
106106
if actuator in self.plugins.keys():
107107
try:
108-
self.plugins[actuator]['write'](value)
108+
self.plugins[actuator]['write'](float(value))
109109
except:
110110
return False
111111
else:

0 commit comments

Comments
 (0)