configuration.yaml 2.62 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
  ssl_key: /home/pi/ssl/key
Erick Hitter's avatar
Erick Hitter committed
21 22 23 24 25
  trusted_networks:
    # - 127.0.0.1
    # - ::1
    - 192.168.1.0/24
    - 2605:e000:1417:40e2::/64
Erick Hitter's avatar
Erick Hitter committed
26 27 28

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

# Checks for available updates
updater:
Erick Hitter's avatar
Erick Hitter committed
36
  reporting: no
Erick Hitter's avatar
Erick Hitter committed
37
  include_used_components: false
Erick Hitter's avatar
Erick Hitter committed
38 39 40

# Enables the frontend
frontend:
Erick Hitter's avatar
Erick Hitter committed
41
  javascript_version: latest
Erick Hitter's avatar
Erick Hitter committed
42

Erick Hitter's avatar
Erick Hitter committed
43 44
# Set recorder options
recorder:
Erick Hitter's avatar
Erick Hitter committed
45 46
  purge_interval: 1
  purge_keep_days: 90
Erick Hitter's avatar
Erick Hitter committed
47 48
  db_url: !secret mysql_recorder

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

# Discover some devices automatically
discovery:
Erick Hitter's avatar
Erick Hitter committed
54 55 56
  ignore:
    - apple_tv
    - samsung_tv
Erick Hitter's avatar
Erick Hitter committed
57

Erick Hitter's avatar
Erick Hitter committed
58 59
# Logging settings
logger:
Erick Hitter's avatar
Erick Hitter committed
60
  default: warn # default logging level
Erick Hitter's avatar
Erick Hitter committed
61 62
  logs:
    homeassistant.components.device_tracker.asuswrt: error # suppress IPv6-related warnings; see https://github.com/home-assistant/home-assistant/issues/2814
Erick Hitter's avatar
Erick Hitter committed
63 64
    homeassistant.components.sensor.rest: debug # to aid debugging locks
    homeassistant.helpers.entity: fatal # Hue bridge throws lots of errors
Erick Hitter's avatar
Erick Hitter committed
65

Erick Hitter's avatar
Erick Hitter committed
66 67 68 69 70 71 72 73 74 75 76 77 78 79
# View all events in a logbook
logbook:

# Track the sun
sun:

# Notifications
notify: !include notifications.yaml

# SmartThings Bridge
mqtt:
  broker: localhost

# Components
Erick Hitter's avatar
Erick Hitter committed
80 81
hue:
  bridges: !include hue.yaml
Erick Hitter's avatar
Erick Hitter committed
82 83 84 85 86 87 88 89 90 91 92

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
93
alarm_control_panel: !include alarm-control-panel.yaml
Erick Hitter's avatar
Erick Hitter committed
94

Erick Hitter's avatar
Erick Hitter committed
95 96
wemo: !include wemo.yaml

Erick Hitter's avatar
Erick Hitter committed
97 98 99 100 101 102
weblink: !include weblinks.yaml

panel_iframe: !include panels-iframe.yaml

apcupsd:

Erick Hitter's avatar
Erick Hitter committed
103
google_assistant: !include google-assistant.yaml
Erick Hitter's avatar
Erick Hitter committed
104

Erick Hitter's avatar
Erick Hitter committed
105 106 107 108 109 110 111 112
# Display
group: !include groups.yaml

# Automation
scene: !include_dir_list scenes

script: !include scripts.yaml

Erick Hitter's avatar
Erick Hitter committed
113 114
shell_command: !include shell_commands.yaml

Erick Hitter's avatar
Erick Hitter committed
115 116 117
automation: !include_dir_list automations

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

Erick Hitter's avatar
Erick Hitter committed
120
input_number: !include input-numbers.yaml
Erick Hitter's avatar
Erick Hitter committed
121 122 123 124 125 126 127 128 129 130

# VPS hosts
linode:
  access_token: !secret linode1

digital_ocean:
  access_token: !secret digital_ocean

vultr:
  api_key: !secret vultr