add unit=s to pollinterval

Change-Id: I6a28fecd4b0d650042f2f031a1b64b801fc2885e
This commit is contained in:
zolliker 2023-05-10 14:32:11 +02:00
parent 8039351395
commit 3099c813d1

View File

@ -834,7 +834,7 @@ class Readable(Module):
value = Parameter('current value of the module', FloatRange())
status = Parameter('current status of the module', StatusType(Status),
default=(StatusType.IDLE, ''))
pollinterval = Parameter('default poll interval', FloatRange(0.1, 120),
pollinterval = Parameter('default poll interval', FloatRange(0.1, 120, unit='s'),
default=5, readonly=False, export=True)
def doPoll(self):