Skip to content

v2.2.0

Choose a tag to compare

@tiejiang29 tiejiang29 released this 03 Jun 14:30
· 7 commits to main since this release

v2.2.0 新增 input 类型支持

新功能

  • input_boolean 支持:修复了 input_boolean 在同步层已支持但 UI 中无法选择的问题,现在可以在配置流程中直接添加 input_boolean 实体
  • input_button 支持:新增 InputButton 同步类,将 input_button 映射为巴法云开关类型,类似于 Scene 的处理方式(始终报告 OFF,收到语音"打开"命令时触发 press 服务)

修改文件

  • config_flow.py:将 input_boolean、input_button 添加到 _SUPPORTED_DOMAINS
  • sync_switch.py:新增 InputButton 同步类
  • const.py:将 input_button 添加到 DOMAIN_TYPE_MAP
  • manifest.json:版本号更新至 2.2.0