上个月树莓派崩溃,这个月刚重新安装就出现这个报错。虽然系统运行正常,但这个报错频率太高了。大佬可以指条路吗?多谢!
本来想看原文件,但是在docker里,不会弄。
Logger: homeassistant
Source: components/sensor/__init__.py:595
First occurred: 2023年9月23日 20:05:59 (2959 occurrences)
Last logged: 20:45:28 Error doing job: Task exception was never retrievedTraceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 591, in state numerical_value = int(value) ^^^^^^^^^^ValueError: invalid literal for int() with base 10: 'unknown'The above exception was the direct cause of the following exception:Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 880, in _update_entity_states await asyncio.gather(*tasks) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 717, in async_update_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 808, in _async_write_ha_state state = self._stringify_state(available) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 752, in _stringify_state if (state := self.state) is None: ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 595, in state raise ValueError(ValueError: Sensor sensor.hmpace_v4_0194_vital_signs has device class 'None', state class 'None' unit 'bpm' and suggested precision 'None' thus indicating it has a numeric value; however, it has the non-numeric value: 'unknown' (<class 'str'>)
|