We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
单击按键一2次,第1次单击后entity的numeric_state变为1并不置空,导致第2次单击时状态未变化,因此不会触发对应的automation
单击按键一后,单击entity的numeric_state变为1,随后置空,这样无论连续单击按键一多少次,音箱都会广播文本
No response
2024.12.2
14.0
0.1.3
The text was updated successfully, but these errors were encountered:
请问numeric_state是什么?能不能发一下截图?设备的MIoT-Spec-V2未找到相应属性或事件。 另外,该设备应该会生成“单击”事件的实体,触发事件时实体详情页会显示是哪一个按键触发了单击事件。
Sorry, something went wrong.
请问numeric_state是什么?能不能发一下截图?设备的MIoT-Spec-V2未找到相应属性或事件。 另外,该设备应该会生成“单击”事件的实体,触发事件时实体详情页会显示是哪一个按键触发了单击事件。 numeric_state是automation中的一种触发条件:
单击entity:
automation见下:
alias: 按键二单击 description: "" triggers: - trigger: numeric_state entity_id: - event.xxx attribute: 情景按键 above: 1 below: 3 conditions: [] actions: - device_id: yyy domain: text entity_id: zzz type: set_value value: 按键二单击 mode: single
SusanPhevos
No branches or pull requests
Describe the Bug / 描述问题
单击按键一2次,第1次单击后entity的numeric_state变为1并不置空,导致第2次单击时状态未变化,因此不会触发对应的automation
How to Reproduce / 复现步骤
Expected Behavior / 预期结果
单击按键一后,单击entity的numeric_state变为1,随后置空,这样无论连续单击按键一多少次,音箱都会广播文本
Home Assistant Logs / 系统日志
No response
Home Assistant Core Version / Home Assistant Core 版本
2024.12.2
Home Assistant Operation System Version / Home Assistant Operation System 版本
14.0
Xiaomi Home Integration Version / 米家集成版本
0.1.3
Additional Context / 其他说明
No response
The text was updated successfully, but these errors were encountered: