configuration.yaml 2.29 KB
Newer Older
Erick Hitter's avatar
Erick Hitter committed
1 2 3 4
homeassistant:
  # Name of the location where Home Assistant is running
  name: Home
  # Location required to calculate the time the sun rises and sets
Erick Hitter's avatar
Erick Hitter committed
5 6
  latitude: !secret latitude
  longitude: !secret longitude
Erick Hitter's avatar
Erick Hitter committed
7 8 9 10 11 12 13 14 15 16
  # 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:
Erick Hitter's avatar
Erick Hitter committed
17
  api_password: !secret api_password
Erick Hitter's avatar
Erick Hitter committed
18
  server_port: 8123
Erick Hitter's avatar
Erick Hitter committed
19
  ssl_certificate: /home/pi/ssl/chain
Erick Hitter's avatar
Erick Hitter committed
20 21 22 23
  ssl_key: /home/pi/ssl/key

zone:
  name: Home
Erick Hitter's avatar
Erick Hitter committed
24 25
  latitude: !secret latitude
  longitude: !secret longitude
Erick Hitter's avatar
Erick Hitter committed
26 27 28 29 30 31 32 33 34
  radius: 30
  icon: mdi:home

# Checks for available updates
updater:

# Enables the frontend
frontend:

Erick Hitter's avatar
Erick Hitter committed
35 36
# Set recorder options
recorder:
Erick Hitter's avatar
Erick Hitter committed
37
  purge_days: 14
Erick Hitter's avatar
Erick Hitter committed
38 39
  db_url: !secret mysql_recorder

Erick Hitter's avatar
Erick Hitter committed
40 41 42 43 44 45 46 47 48
# 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

Erick Hitter's avatar
Erick Hitter committed
49 50 51 52 53 54
# Enables support for tracking state changes over time.
history:

# Discover some devices automatically
discovery:

Erick Hitter's avatar
Erick Hitter committed
55 56 57 58 59 60 61
# 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

Erick Hitter's avatar
Erick Hitter committed
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
# 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

Erick Hitter's avatar
Erick Hitter committed
88
alarm_control_panel: !include alarm-control-panel.yaml
Erick Hitter's avatar
Erick Hitter committed
89

Erick Hitter's avatar
Erick Hitter committed
90 91
wemo: !include wemo.yaml

Erick Hitter's avatar
Erick Hitter committed
92 93 94 95 96 97
weblink: !include weblinks.yaml

panel_iframe: !include panels-iframe.yaml

apcupsd:

Erick Hitter's avatar
Erick Hitter committed
98 99 100 101 102 103 104 105
# Display
group: !include groups.yaml

# Automation
scene: !include_dir_list scenes

script: !include scripts.yaml

Erick Hitter's avatar
Erick Hitter committed
106 107
shell_command: !include shell_commands.yaml

Erick Hitter's avatar
Erick Hitter committed
108 109 110
automation: !include_dir_list automations

# Controls
Erick Hitter's avatar
Erick Hitter committed
111 112
input_select: !include input-selects.yaml

Erick Hitter's avatar
Erick Hitter committed
113
input_slider: !include input-sliders.yaml