-
-
Notifications
You must be signed in to change notification settings - Fork 727
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3f23f19
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这是一个组件内置的设备自定义,
DEVICE_CUSTOMIZES
是针对设备型号的自定义,通过这些自定义,可以扩展设备在HA中的功能,比如:sensor_properties
/switch_properties
可以讲miot属性映射为HA实体exclude_miot_properties
可以排除多余的miot属性,部分设备因为轮训过多的属性导致无响应chunk_coordinators
可以分组轮训不同的属性,可以更快同步设备的关键属性更多的自定义选项可以在 #600 中找到。
如果你想改变这些自定义,应该优先通过配置流(issues/600)或配置文件
configuration.yaml
来定义。假设你的某个设备缺少温湿度传感器,可以先从网站 home.miot-spec.com 找到相应的属性名称,按照以下格式来配置:
值得注意的是:
-
需要被替换为_