Setup basic information


By default, Home Assistant will try to detect your location from IP address geolocation. Home Assistant will automatically select a temperature unit and time zone based on this location. You can overwrite this by adding the following information to your configuration.yaml:

homeassistant:
  latitude: 32.87336
  longitude: 117.22743
  elevation: 430
  unit_system: metric
  time_zone: America/Los_Angeles
  name: Home
  whitelist_external_dirs:
    - /usr/var/dumping-ground
    - /tmp

Configuration Variables

latitude

(float)(Optional)Latitude of your location required to calculate the time the sun rises and sets.

longitude

(float)(Optional)Longitude of your location required to calculate the time the sun rises and sets.

elevation

(integer)(Optional)Altitude above sea level in meters. Impacts weather/sunrise data.

unit_system

(string)(Optional)metric for Metric, imperial for Imperial.

time_zone

(string)(Optional)Pick your time zone from the column TZ of Wikipedia’s list of tz database time zones

name

(string)(Optional)Name of the location where Home Assistant is running.

customize

(string)(Optional)Customize entities.

customize_domain

(string)(Optional)Customize all entities in a domain.

customize_glob

(string)(Optional)Customize entities matching a pattern.

whitelist_external_dirs

(list)(Optional)List of folders that can be used as sources for sending files.