homeassistant:
  # Name of the location where Home Assistant is running
  name: Home
  # Location required to calculate the time the sun rises and sets
  latitude: !secret latitude
  longitude: !secret longitude
  # Impacts weather/sunrise data
  elevation: 250
  # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
  time_zone: America/Los_Angeles
  #
  unit_system: imperial
  #
  customize: !include_dir_merge_named customizations

http:
  api_password: !secret api_password
  server_port: 8123
  ssl_certificate: /home/pi/ssl/chain
  ssl_key: /home/pi/ssl/key

zone:
  name: Home
  latitude: !secret latitude
  longitude: !secret longitude
  radius: 30
  icon: mdi:home

# Checks for available updates
updater:

# Enables the frontend
frontend:

# Set recorder options
recorder:
  purge_days: 14
  db_url: !secret mysql_recorder

# Also log states to InfluxDB
influxdb:
  host: !secret influxdb_host
  database: !secret influxdb_db
  username: !secret influxdb_user
  password: !secret influxdb_password
  ssl: true
  verify_ssl: true

# Enables support for tracking state changes over time.
history:

# Discover some devices automatically
discovery:

# Logging settings
logger:
  default: info # default logging level
  logs:
    homeassistant.components.device_tracker.asuswrt: error # suppress IPv6-related warnings; see https://github.com/home-assistant/home-assistant/issues/2814
    homeassistant.components.sensor.rest: debug

# View all events in a logbook
logbook:

# Track the sun
sun:

# Notifications
notify: !include notifications.yaml

# SmartThings Bridge
mqtt:
  broker: localhost

# Components
light: !include hue.yaml

media_player: !include media-player.yaml

switch: !include switches.yaml

sensor: !include_dir_list sensors

binary_sensor: !include_dir_list binary-sensors

device_tracker: !include device-tracker.yaml

alarm_control_panel: !include alarm-control-panel.yaml

wemo: !include wemo.yaml

weblink: !include weblinks.yaml

panel_iframe: !include panels-iframe.yaml

apcupsd:

# Display
group: !include groups.yaml

# Automation
scene: !include_dir_list scenes

script: !include scripts.yaml

shell_command: !include shell_commands.yaml

automation: !include_dir_list automations

# Controls
input_select: !include input-selects.yaml

input_slider: !include input-sliders.yaml