24 lines
1.4 KiB
JSON
24 lines
1.4 KiB
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"title": "Environment Canada: weather location and language",
|
|
"description": "Either a station ID or latitude/longitude must be specified. The default latitude/longitude used are the values configured in your Home Assistant installation. The closest weather station to the coordinates will be used if specifying coordinates. If a station code is used it must follow the format: PP/code, where PP is the two-letter province and code is the station ID. The list of station IDs can be found here: https://dd.weather.gc.ca/citypage_weather/docs/site_list_towns_en.csv. Weather information can be retrieved in either English or French.",
|
|
"data": {
|
|
"latitude": "[%key:common::config_flow::data::latitude%]",
|
|
"longitude": "[%key:common::config_flow::data::longitude%]",
|
|
"station": "Weather station ID",
|
|
"language": "Weather information language"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"bad_station_id": "Station ID is invalid, missing, or not found in the station ID database",
|
|
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
|
"error_response": "Response from Environment Canada in error",
|
|
"too_many_attempts": "Connections to Environment Canada are rate limited; Try again in 60 seconds",
|
|
"unknown": "[%key:common::config_flow::error::unknown%]"
|
|
}
|
|
}
|
|
}
|