As part of the default onboarding process, Home Assistant can detect your location from IP address geolocation. Home Assistant will automatically select a temperature unit and time zone based on this location. You may adjust this during onboarding, or afterwards at Configuration -> General.
If you prefer YAML, you can add the following information to your
homeassistant: name: Home latitude: 32.87336 longitude: 117.22743 elevation: 430 unit_system: metric time_zone: America/Los_Angeles external_url: "https://www.example.com" internal_url: "http://homeassistant.local:8123" whitelist_external_dirs: - /usr/var/dumping-ground - /tmp
NOTE: You will not be able to edit anything in Configuration -> General in the UI if you are using YAML configuration for any of the following: name, latitude, longitute, elevation, unit_system, temperature_unit, time_zone, external_url, internal_url.
Name of the location where Home Assistant is running.
Latitude of your location required to calculate the time the sun rises and sets.
Longitude of your location required to calculate the time the sun rises and sets.
Altitude above sea level in meters. Impacts weather/sunrise data.
imperialfor Imperial. This also sets temperature_unit, Celsius for Metric and Fahrenheit for Imperial
Override temperature unit set by unit_system.
Pick your time zone from the column TZ of Wikipedia’s list of tz database time zones
The URL that Home Assistant is available on from the internet. For example:
https://example.duckdns.org:8123. Note that this setting may only contain a protocol, hostname and port; using a path is not supported.
The URL that Home Assistant is available on from your local network. For example:
http://homeassistant.local:8123. Note that this setting may only contain a protocol, hostname and port; using a path is not supported.
Customize all entities in a domain.
Customize entities matching a pattern.
List of folders that can be used as sources for sending files.
Home Assistant offers a service to reload the core configuration while Home Assistant is running called
homeassistant.reload_core_config. This allows you to change any of the above sections and see it being applied without having to restart Home Assistant. To call this service, go to the “Service” tab under Developer Tools, select the
homeassistant.reload_core_config service and click the “CALL SERVICE” button. Alternatively, you can press the “Reload Location & Customizations” button under Configuration > Server Control.