You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a bug in helpers.py, there is no reference to self (used in exception handling). See logs below:
2024-06-08 14:08:18.551 ERROR (MainThread) [homeassistant] Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/daily/helpers.py", line 28, in convert_to_float
return float(float_value)
^^^^^^^^^^^^^^^^^^
ValueError: could not convert string to float: 'unknown'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/daily/sensor.py", line 74, in <lambda>
lambda event: self._handle_update( # pylint: disable=unnecessary-lambda
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/daily/sensor.py", line 100, in _handle_update
the_val = convert_to_float(input_state)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/daily/helpers.py", line 32, in convert_to_float
float_value, self.coordinator.input_sensor
^^^^
The text was updated successfully, but these errors were encountered:
There is a bug in
helpers.py
, there is no reference toself
(used in exception handling). See logs below:The text was updated successfully, but these errors were encountered: