Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

按说明配置后,报错。 #5

Open
ybnedsi opened this issue Jul 5, 2021 · 0 comments
Open

按说明配置后,报错。 #5

ybnedsi opened this issue Jul 5, 2021 · 0 comments

Comments

@ybnedsi
Copy link

ybnedsi commented Jul 5, 2021

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant