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
Logger: homeassistant.helpers.entity
Source: custom_components/baidu_face/sensor.py:179
Integration: baidu_face (documentation)
First occurred: 01:01:37 (339 occurrences)
Last logged: 01:13:14
Update for sensor.face_indentity fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 350, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 558, in async_device_update
raise exc
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/baidu_face/sensor.py", line 138, in update
self.face_searching()
File "/config/custom_components/baidu_face/sensor.py", line 179, in face_searching
if ret['result'] is not None:
KeyError: 'result'
The text was updated successfully, but these errors were encountered:
Logger: homeassistant.helpers.entity
Source: custom_components/baidu_face/sensor.py:179
Integration: baidu_face (documentation)
First occurred: 01:01:37 (339 occurrences)
Last logged: 01:13:14
Update for sensor.face_indentity fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 350, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 558, in async_device_update
raise exc
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/baidu_face/sensor.py", line 138, in update
self.face_searching()
File "/config/custom_components/baidu_face/sensor.py", line 179, in face_searching
if ret['result'] is not None:
KeyError: 'result'
The text was updated successfully, but these errors were encountered: