- 积分
- 644
- 金钱
- 580
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
高级会员
- 积分
- 644
- 金钱
- 580
- HASS币
- 0
|
发表于 2021-10-15 17:43:03
|
显示全部楼层
不知道楼主大神还登录不,我用这个插件总是报错,不知道咋解决呢?
此错误来自自定义集成。
Logger: homeassistant.helpers.entity
Source: custom_components/apparent_temperature/sensor.py:102
Integration: apparent_temperature (documentation)
First occurred: 17:39:31 (2 occurrences)
Last logged: 17:39:31
Update for sensor.at01 fails
Update for sensor.at02 fails
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/helpers/entity.py", line 446, in async_update_ha_state
await self.async_device_update()
File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/helpers/entity.py", line 641, in async_device_update
raise exc
File "/usr/python/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/will/.homeassistant/custom_components/apparent_temperature/sensor.py", line 102, in update
ttry = self._hass.states.get(self._temperatureSensor).state
AttributeError: 'NoneType' object has no attribute 'state'
|
|