Running co2_reading
with scd4x
configuration fails with the following output on version 25.3.5
Exception in thread Thread-1 (_target):
Traceback (most recent call last):
File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner
self.run()
File "/usr/lib/python3.11/threading.py", line 975, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.11/dist-packages/pioreactor/utils/timing.py", line 149, in _target
while not self.event.wait(self.time_to_next_run):
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/pioreactor/utils/timing.py", line 164, in time_to_next_run
return self.interval - ((perf_counter() - self.start_time) % self.interval)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for %: 'float' and 'str'