Alone
Alone
Try latest release version.
请升级插件到最新版本,并提供开发者工具中的[实体属性](https://my.home-assistant.io/redirect/developer_states)。
Call this service and find results in HA notifications. ```yaml service: xiaomi_miot.send_command data: entity_id: sensor.mmgg_petfeeder_xxxx method: getprops params: [] throw: true ```
请更新至master分支。
经测试,可正常绑定: 
https://github.com/al-one/hass-xiaomi-miot/blob/35ad2768b8e7f1481411e2b30534a98e88a630e5/custom_components/xiaomi_miot/config_flow.py#L119 建议修改你的本地文件中的代码为: ```python except (MiCloudException, MiCloudAccessDenied) as exc: ``` 并重启HA后再试,然后观察[日志](https://my.home-assistant.io/redirect/logs)。
请更新至master分支后再试。
从日志看,你的代码不是最新的master分支,请重新下载。
再分享一个用[`button-card`](https://github.com/custom-cards/button-card)写的**人体传感器**模板:([用法教程](https://github.com/al-one/hass-xiaomi-miot/issues/226#issue-1044701343)) ```yaml button_card_templates: # 使按钮点击、双击、长按动作均设置为打开更多信息弹出框的模板 more_info: tap_action: action: more-info hold_action: action: more-info double_tap_action: action: more-info # 人体传感器模板 homekit_motion: template: more_info # 模板也可以引用模板 icon: mdi:motion-sensor size: 70% aspect_ratio: 1/1 variables: battery_lavel:...
再分享一个用[`button-card`](https://github.com/custom-cards/button-card)写的**插座实体**模板:([用法教程](https://github.com/al-one/hass-xiaomi-miot/issues/226#issue-1044701343)) ```yaml button_card_templates: more_info: tap_action: action: more-info hold_action: action: more-info double_tap_action: action: more-info # 使按钮双击动作设置为打开/关闭实体的模板 double_toggle: double_tap_action: action: toggle # 插座带用电量显示模板 homekit_outlet_full: template: more_info icon: mdi:power-socket-us size: 100% aspect_ratio: 1/1...