CO2 plugin - TypeError: unsupported operand type(s) for %: 'float' and 'str'

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'

Hi @sharknaro,

Yes, you’re right, there was a bug in co2-plugin version 0.2.2. I’ve just released 0.2.3 with a fix.