Update documentation to show unit system (#717)

This commit is contained in:
Teagan Glenn 2016-08-07 18:59:24 -06:00 committed by Paulus Schoutsen
parent 0827a7646b
commit 45c86f1631
6 changed files with 10 additions and 10 deletions

View File

@ -66,7 +66,7 @@ The context will look like this:
"latitude": 44.1234, "latitude": 44.1234,
"location_name": "Home", "location_name": "Home",
"longitude": 5.5678, "longitude": 5.5678,
"temperature_unit": "°C", "unit_system": "metric",
"time_zone": "Europe/Zurich", "time_zone": "Europe/Zurich",
"version": "0.20.0.dev0" "version": "0.20.0.dev0"
}, },

View File

@ -4,8 +4,8 @@ homeassistant:
# Location required to calculate the time the sun rises and sets # Location required to calculate the time the sun rises and sets
latitude: 37 latitude: 37
longitude: -121 longitude: -121
# C for Celcius, F for Fahrenheit # 'metric' for Metric, 'imperial' for Imperial
temperature_unit: F unit_system: imperial
# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
time_zone: America/Los_Angeles time_zone: America/Los_Angeles
customize: customize:

View File

@ -17,8 +17,8 @@ homeassistant:
# Location required to calculate the time the sun rises and sets # Location required to calculate the time the sun rises and sets
latitude: 37 latitude: 37
longitude: -121 longitude: -121
# C for Celcius, F for Fahrenheit # 'metric' for Metric, 'imperial' for Imperial
temperature_unit: F unit_system: imperial
# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
time_zone: America/Los_Angeles time_zone: America/Los_Angeles
customize: customize:

View File

@ -26,8 +26,8 @@ homeassistant:
# Location required to calculate the time the sun rises and sets # Location required to calculate the time the sun rises and sets
latitude: 37 latitude: 37
longitude: -121 longitude: -121
# C for Celsius, F for Fahrenheit # 'metric' for Metric, 'imperial' for Imperial
temperature_unit: F unit_system: imperial
# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
time_zone: America/Los_Angeles time_zone: America/Los_Angeles
customize: !include customize.yaml customize: !include customize.yaml

View File

@ -89,7 +89,7 @@ Returns the current configuration as JSON.
"latitude": 44.1234, "latitude": 44.1234,
"location_name": "Home", "location_name": "Home",
"longitude": 5.5678, "longitude": 5.5678,
"temperature_unit": "\u00b0C", "unit_system": "metric",
"time_zone": "Europe/Zurich", "time_zone": "Europe/Zurich",
"version": "0.8.0.dev0" "version": "0.8.0.dev0"
} }

View File

@ -22,8 +22,8 @@ homeassistant:
# Impacts weather/sunrise data (altitude above sea level) # Impacts weather/sunrise data (altitude above sea level)
elevation: 430 elevation: 430
# C for Celsius, F for Fahrenheit # 'metric' for Metric, 'imperial' for Imperial
temperature_unit: C unit_system: metric
# Pick yours from here: # Pick yours from here:
# http://en.wikipedia.org/wiki/List_of_tz_database_time_zones # http://en.wikipedia.org/wiki/List_of_tz_database_time_zones