Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
tiejiang29
bemfa
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Releases
v2.0.0
v2.0.0
Compare
Choose a tag to compare
Sorry, something went wrong.
Filter
Loading
Sorry, something went wrong.
Uh oh!
There was an error while loading.
Please reload this page
.
No results found
tiejiang29
released this
03 Jun 13:48
·
9 commits
to main since this release
v2.0.0
81d1b92
v2.0.0 - 支持添加实体时手动选择巴法云设备类型
新功能
添加实体时可手动选择巴法云设备类型,默认为 HA 自动推断类型
例如将 switch 映射为灯类型后,语音说「关闭所有灯」也会关闭这些开关
类型覆盖信息持久化存储,HA 重启后自动恢复
可选类型
灯 (Light) - 002
风扇 (Fan) - 003
传感器 (Sensor) - 004
空调 (Climate) - 005
开关 (Switch) - 006
窗帘 (Cover) - 009
技术改动
新增 BEMFA_TYPE_MAP 和 DOMAIN_TYPE_MAP 类型映射常量
sync.py 支持 topic_suffix 覆盖,设置时自动清除缓存
所有入口(添加/修改/删除/启动)统一应用类型覆盖
类型覆盖仅改变巴法云 topic 后缀(设备分类),HA 侧仍使用原始 Sync 类处理消息
You can’t perform that action at this time.