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: 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
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.
Pick your time zone from the column TZ of Wikipedia’s list of tz database time zones
Name of the location where Home Assistant is running.
Customize all entities in a domain.
Customize entities matching a pattern.
List of folders that can be used as sources for sending files.