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

[Feature Request]希望米家消息实体可以区分家庭 #2290

Open
yduke opened this issue Jan 8, 2025 · 0 comments
Open

[Feature Request]希望米家消息实体可以区分家庭 #2290

yduke opened this issue Jan 8, 2025 · 0 comments

Comments

@yduke
Copy link

yduke commented Jan 8, 2025

实体 sensor.mi_xxxxxxxx_message 会输出最近的设备事件,搭配日志卡片可以很好地了解最近发生的事。

Issue

但是,当同一个小米账号下绑定了2个或多个家庭,这个实体会将账号下所有家庭的事件全部记录输出,对于多家庭、多用户缺乏私密性。
比如A家庭的用户能看到B家庭何时何人用哪个手指开了门锁。B家庭的用户也能看到A。
image
图中红线为两个不同地理位置的家庭的消息。

Expected Behavior

希望可以根据绑定小米账号时(留空)选择的家庭来限制实体输出的message,或者按家庭区分出不同实体。

One more thing

在开发者工具中查看此实体,每条消息的属性中包含所属家庭名称,如:

home_name: XXX

未知可否利用每条消息的属性去过滤消息?

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