-
-
Notifications
You must be signed in to change notification settings - Fork 713
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
可以将小爱同学Pro添加的 红外设备添加吗? #116
Labels
Comments
暂时不支持红外虚拟设备,但是可以通过小爱执行语音命令控制红外设备。对于有些小爱不支持的按键,可以在米家添加手动场景并开始小爱控制。 service: xiaomi_miot.intelligent_speaker
data:
entity_id: media_player.xiaoai_entity_id
text: 打开电视
execute: true
silent: true |
好的吧,我还想成要是能添加的话,那 homekit 就可以直接显示了 |
主要是红外设备无法获取状态,想在Homekit显示可以使用template switch等。 |
我想请教一下 有没有类似的案列模板呀?我学习一下 |
# configuration.yaml
cover:
- platform: template
# https://www.home-assistant.io/integrations/cover.template
covers:
xiaoai_ir_curtain:
device_class: curtain
friendly_name: 窗帘
optimistic: true # https://www.home-assistant.io/integrations/cover.template/#optimistic
open_cover:
service: xiaomi_miot.intelligent_speaker
data:
entity_id: media_player.xiaoai_entity_id
text: 打开窗帘
execute: true
silent: true
close_cover:
service: xiaomi_miot.intelligent_speaker
data:
entity_id: media_player.xiaoai_entity_id
text: 关闭窗帘
execute: true
silent: true
stop_cover:
service: xiaomi_miot.intelligent_speaker
data:
entity_id: media_player.xiaoai_entity_id
text: 暂停窗帘
execute: true
silent: true |
非常感谢了,我这就记录下来。 |
不愧是大神,真的能用,牛逼 |
😂 能用就好。 |
Open
求教,请问如何关闭状态反馈?assumed_state 无法使用。 |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
我家里有一些红外设备,是通过小爱同学Pro添加的。
这些设备可以被识别并添加吗?
The text was updated successfully, but these errors were encountered: