Rename Imperial to US Customary (#24612)

* Rename Imperial to US Customary

* Update configuration.markdown

* Update splitting_configuration.markdown
This commit is contained in:
epenet 2022-10-19 14:52:25 +02:00 committed by GitHub
parent b43a1af613
commit 01b19c6889
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View File

@ -3,7 +3,7 @@ title: "Setup basic information"
description: "Setting up the basic info of Home Assistant."
---
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 {% my general title="Settings > System > General" %}.
As part of the default onboarding process, Home Assistant can detect your location from IP address geolocation. Home Assistant will automatically select a unit system and time zone based on this location. You may adjust this during onboarding, or afterwards at {% my general title="Settings > System > General" %}.
If you prefer YAML, you can add the following information to your `configuration.yaml`:
@ -53,7 +53,7 @@ elevation:
required: false
type: integer
unit_system:
description: "`metric` for Metric, `imperial` for Imperial. This also sets temperature_unit, Celsius for Metric and Fahrenheit for Imperial"
description: "`metric` for Metric, `us_customary` for US Customary. This also sets temperature_unit, Celsius for Metric and Fahrenheit for US Customary"
required: false
type: string
temperature_unit:

View File

@ -20,8 +20,8 @@ homeassistant:
# Location required to calculate the time the sun rises and sets
latitude: 37
longitude: -121
# 'metric' for Metric, 'imperial' for Imperial
unit_system: imperial
# 'metric' for Metric, 'us_customary' for US Customary
unit_system: us_customary
# Pick yours from here: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
time_zone: "America/Los_Angeles"
customize: !include customize.yaml

View File

@ -31,12 +31,12 @@ Now let's make a change using the file editor: we are going to change the name,
name: Home
latitude: xx.xxxx
longitude: xx.xxxx
unit_system: imperial
unit_system: us_customary
time_zone: America/Chicago
```
<div class='note'>
Valid options for `unit_system` are `imperial` or `metric`. See [here](https://timezonedb.com/time-zones) for a list of valid time zones. Enter the appropriate option found under the Time Zone column at that page.
Valid options for `unit_system` are `us_customary` or `metric`. See [here](https://timezonedb.com/time-zones) for a list of valid time zones. Enter the appropriate option found under the Time Zone column at that page.
</div>