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

fix: some event:motion-detected does not contain 'arguments' #712

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

caibinqing
Copy link

fix #651
fix #667


追踪了一下,问题出在 有些设备上报事件的时候没有arguments参数,在这里被拦住了。(例如 米家夜灯2 蓝牙版 (yeelink.light.nl1)小米人体传感器2 (lumi.motion.bmgl01)

简单做了一下默认值处理,经测试可行。

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