homeassistant:
# Name of the location where Home Assistant is running
name: Home
# Location required to calculate the time the sun rises and sets
latitude: 23.1167
longitude: 113.25
# Impacts weather/sunrise data (altitude above sea level in meters)
elevation: 14
# 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]http://en.wikipedia.org/wiki/List_of_tz_database_time_zones[/url]
time_zone: Asia/Shanghai
customize: !include customized.yaml
customize_glob:
"*.*":
custom_ui_state_card: custom-ui
group.a:
state_card_mode: badges
group.my_group:
state_card_mode: badges
badges_list:
- sensor.aqi_pm25
- sensor.aqi_qlty
sensor.aqi_pm25:
group:
group.my_group:
hidden: true
sensor.aqi_qlty:
group:
group.my_group:
hidden: true
customizer:
panel: true
hide_customui_attributes: false
hide_attributes:
- node_id
- value_index
# Show links to resources in log and frontend
introduction:
# Enables the frontend
frontend:
# Enables configuration UI
config:
http:
# Uncomment this to add a password (recommended!)
# api_password: PASSWORD
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# base_url: example.duckdns.org:8123
# Checks for available updates
# Note: This component will send some information about your system to
# the developers to assist with development of Home Assistant.
# For more information, please see:
# [url=https://home-assistant.io/blog/2016/10/25/explaining-the-updater/]https://home-assistant.io/blog/2016/10/25/explaining-the-updater/[/url]
updater:
# Optional, allows Home Assistant developers to focus on popular components.
# include_used_components: true
# Discover some devices automatically
discovery:
# Allows you to issue voice commands from the frontend in enabled browsers
conversation:
# Enables support for tracking state changes over time
history:
# View all events in a logbook
logbook:
# Track the sun
sun:
# Weather prediction
sensor: !include sensor.yaml
# Text to speech
tts:
- platform: google
group:
a:
control: hidden
entities:
- sensor.1hour_pop
- sensor.1hour_weather
b:
entities:
- group.a
- sensor.aqi_qlty
my_group:
entities:
- sensor.aqi_pm25
- sensor.aqi_qlty
- group.my_group
automation: !include automations.yaml
script: !include scripts.yaml