-
-
Notifications
You must be signed in to change notification settings - Fork 714
New issue
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
小米空气净化器4proH 实体功能缺失 #1601
Labels
Comments
用ai生成了一个,不知道有没有错 switch:
- platform: template
switches:
air_purifier_uv:
value_template: "{{ is_state_attr('fan.xiaomi_va4_9e74_air_purifier', 'air_purifier.uv', true) }}"
turn_on:
service: xiaomi_miot.set_property
data:
entity_id: fan.xiaomi_va4_9e74_air_purifier
field: air_purifier.uv
value: true
turn_off:
service: xiaomi_miot.set_property
data:
entity_id: fan.xiaomi_va4_9e74_air_purifier
field: air_purifier.uv
value: false |
竟然对了, 学习使我快乐 😂 |
al-one
added a commit
that referenced
this issue
Mar 27, 2024
尝试master分支。 |
谢谢 已用上 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Device model / 设备型号
xiaomi.airp.va4
Component version / 插件版本
0.7.17
HA core version / HA版本
2024.3.1
Integrated mode / 集成方式
Automatic (自动模式)
The problem / 问题详情
设备是小米空气净化器4proH,请问是否可以集成负离子/uv灯的开关? 谢谢
Entity attributes / 实体属性
无实体
Home Assistant Logs / 系统日志
无
The text was updated successfully, but these errors were encountered: