- 积分
- 479
- 金钱
- 398
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
中级会员
- 积分
- 479
- 金钱
- 398
- HASS币
- 0
|
发表于 2019-8-2 01:47:24
|
显示全部楼层
请教,我用的Newifi2刷的Padavan,用asuswrt接入ha了。
路由下连入的设备都可显示,但四个网速传感器未知,不知道是什么原因。。。
报错信息:
Update for sensor.asuswrt_download_speed failsTraceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 221, in async_update_ha_state await self.async_device_update() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 378, in async_device_update await self.async_update() File "/usr/src/homeassistant/homeassistant/components/asuswrt/sensor.py", line 74, in async_update await super().async_update() File "/usr/src/homeassistant/homeassistant/components/asuswrt/sensor.py", line 57, in async_update self._rates = await self._api.async_get_bytes_total() File "/usr/local/lib/python3.7/site-packages/aioasuswrt/asuswrt.py", line 189, in async_get_bytes_total rx = await self.async_get_rx() File "/usr/local/lib/python3.7/site-packages/aioasuswrt/asuswrt.py", line 196, in async_get_rx return int(data[0])ValueError: invalid literal for int() with base 10: ''
|
|