大家好,
First, i love this custom component very much. I usually use it for pop_up cards.
但是我在HA的核心记录中发现了一些错误。我的HA几乎每天都在崩溃。我可以ping raspberrypi3,但是网络接口无法到达,我必须重新启动它。
So when checking al the errors in the logging i found this. And maybe it has nothing to do with the crash of HA but Iwill fix this error. The error is:
> 2020-10-30 11:11:19 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: browser_mod > 2020-10-30 11:11:24 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.547697897536] Error handling message: Unknown error > Traceback (most recent call last): > File "/usr/src/homeassistant/homeassistant/components/websocket_api/connection.py", line 95, in async_handle > handler(self.hass, self, schema(msg)) > File "/config/custom_components/browser_mod/connection.py", line 42, in handle_update > devices[deviceID].update(msg.get("data", None)) > File "/config/custom_components/browser_mod/connection.py", line 83, in update > self.sensor = self.sensor or create_entity( > File "/config/custom_components/browser_mod/helpers.py", line 47, in create_entity > adder = hass.data[DOMAIN][DATA_ADDERS][platform] > KeyError: 'sensor' > 2020-10-30 11:11:34 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.547697897536] Error handling message: Unknown error > Traceback (most recent call last): > File "/usr/src/homeassistant/homeassistant/components/websocket_api/connection.py", line 95, in async_handle > handler(self.hass, self, schema(msg)) > File "/config/custom_components/browser_mod/connection.py", line 42, in handle_update > devices[deviceID].update(msg.get("data", None)) > File "/config/custom_components/browser_mod/connection.py", line 83, in update > self.sensor = self.sensor or create_entity( > File "/config/custom_components/browser_mod/helpers.py", line 47, in create_entity > adder = hass.data[DOMAIN][DATA_ADDERS][platform] > KeyError: 'sensor'
我已经通过HACS重新安装了浏览器_MOD。
具有HASSOS 4.15的RaspberryPI3,HA 0.116.4。
我希望有人可以帮助我解决这些错误。