homeassistant-config-example/homekit.yaml

66 lines
1.5 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 这里控制的是homekit也就是iOS的home app里出现哪些内容。
# https://www.home-assistant.io/integrations/homekit/
name: 'Erimus 402'
port: 8124
safe_mode: true
filter:
# include_domains:
include_entities: # 要出现的
# Amplifier
- switch.amplifier_power
- script.amplifier_volume_up_10_times
- script.amplifier_volume_down_10_times
- switch.amplifier_mute
- script.media_play_pause
- script.media_previous
- script.media_next
# Air Conditionor
- switch.aircon_smart
# Lights
- light.light_1
- light.light_2
- light.light_3
# Pump
- switch.water_pump
# Screen
# - switch.screen
# Theater mode
- switch.theater_mode
# Leave or return home
- switch.at_home
# Sensor
# 需要在 customize 里设置特定的 device_class 来帮助识别
# 但我仍无法让 Siri 直接播报 AQIiPhone默认可以识别部分国家地区的AQI
# - sensor.waqi_pudong_monitoring_station_shanghai_shang_hai_pu_dong_jian_ce_zhan
# Climate
- climate.hitachi_ac
# Purifier
- switch.purifier
# Monitor
- switch.monitor
# exclude_entities: # 要排除的
# - remote.broadlink
# 合法图标仅 faucet/outlet/shower/sprinkler/valve
# https://www.home-assistant.io/integrations/homekit/
entity_config:
switch.water_pump: # 显示为水龙头的图标
type: faucet