We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
input_boolean.xiaoai_fan_state
# configuration.yaml fan: - platform: template # https://www.home-assistant.io/integrations/fan.template fans: xiaoai_fan: friendly_name: "小爱风扇" value_template: "{{ states('input_boolean.xiaoai_fan_state') }}" percentage_template: 0 preset_mode_template: "" oscillating_template: false speed_count: 3 preset_modes: - 直吹风 - 自然风 turn_on: - service: xiaomi_miot.intelligent_speaker data: entity_id: media_player.xiaoai_entity_id # 改成你的小爱实体ID text: 打开风扇 execute: true silent: true - service: input_boolean.turn_on target: entity_id: input_boolean.xiaoai_fan_state turn_off: - service: xiaomi_miot.intelligent_speaker data: entity_id: media_player.xiaoai_entity_id # 改成你的小爱实体ID text: 关闭风扇 execute: true silent: true - service: input_boolean.turn_off target: entity_id: input_boolean.xiaoai_fan_state set_percentage: service: xiaomi_miot.intelligent_speaker data: entity_id: media_player.xiaoai_entity_id # 改成你的小爱实体ID text: "风扇风速调到{{ percentage }}" execute: true silent: true set_preset_mode: service: xiaomi_miot.intelligent_speaker data: entity_id: media_player.xiaoai_entity_id # 改成你的小爱实体ID text: "风扇模式切换为{{ preset_mode }}" execute: true silent: true set_oscillating: service: xiaomi_miot.intelligent_speaker data: entity_id: media_player.xiaoai_entity_id text: "{{ '风扇摇头' if oscillating else '风扇停止摇头' }}" execute: true silent: true
如果想通过空调伴侣实现可以参考:#136 (comment)
The text was updated successfully, but these errors were encountered:
您好,请问通过其他平台接入但不是红外遥控,小爱同学控制的设备是不是也只能通过控制小爱同学执行语音指令的方式去执行
Sorry, something went wrong.
@cclucky1 可以,标题有写。
No branches or pull requests
input_boolean.xiaoai_fan_state
如果想通过空调伴侣实现可以参考:#136 (comment)
The text was updated successfully, but these errors were encountered: