homeassistant:
# Name of the location where Home Assistant is running
name: Home
# Location required to calculate the time the sun rises and sets
latitude: 32.0617
longitude: 118.7778
# Impacts weather/sunrise data (altitude above sea level in meters)
elevation: 0
# metric for Metric, imperial for Imperial
unit_system: metric
# Pick yours from here: [url]http://en.wikipedia.org/wiki/List_of_tz_database_time_zones[/url]
time_zone: Asia/Shanghai
customize_glob:
"*.*":
custom_ui_state_card: state-card-custom-ui
# Customization file
packages: !include_dir_named packages
customizer:
custom_ui: local
hide_attributes:
- node_id
- value_index
frontend:
extra_html_url:
- /local/custom_ui/state-card-custom-ui.html
extra_html_url_es5:
- /local/custom_ui/state-card-custom-ui-es5.html
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
# Show the introduction message on startup.
#introduction:
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# http:
# base_url: example.duckdns.org:8123
# Discover some devices automatically
discovery:
# Sensors
sensor:
# Weather prediction
- platform: yr
# Text to speech
tts:
- platform: google
fan:
- platform: xiaomi_miio
name: Xiaomi Air Purifier 2
host: 192.168.1.57
token: 3d8de126addffaf3cbf99911a3613c4b
group: !include groups.yaml
#automation: !include automations.yaml
script: !include scripts.yaml
homekit: