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: 105
  # 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
  auth_providers:
   - type: homeassistant
   - type: legacy_api_password
     api_password: !secret api_password

auth:

config:
ssdp:

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

cloud: !include cloud.yaml

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

# Checks for available updates
updater:
  reporting: no
  include_used_components: false

# Enables the frontend
frontend:
  javascript_version: latest

# Set recorder options
recorder:
  purge_interval: 1
  purge_keep_days: 30
  db_url: !secret mysql_recorder

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

# Discover some devices automatically
discovery:

# Logging settings
logger:
  default: warn # default logging level
  logs:
    homeassistant.components.cloud.google_config: error # bad entities following FP move.

# View all events in a logbook
logbook:

# Track the sun
sun:

# Notifications
notify: !include notifications.yaml

# SmartThings Bridge
mqtt:
  broker: localhost

# Components
hue:

cast:

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

panel_iframe: !include panels-iframe.yaml

apcupsd:

august: !include august.yaml

cover: !include cover.yaml

ecobee:
  api_key: !secret ecobee_key

system_health:

# Display
group: !include groups.yaml

lovelace:
  mode: yaml

# Automation
scene: !include_dir_list scenes

script: !include scripts.yaml

automation: !include automations.yaml
automation old: !include_dir_list automations

# Controls
input_select: !include input-selects.yaml

input_number: !include input-numbers.yaml