62 lines
1.6 KiB
JSON
62 lines
1.6 KiB
JSON
{
|
|
"config": {
|
|
"error": {
|
|
"invalid_api_token": "[%key:common::config_flow::error::invalid_api_key%]",
|
|
"no_site": "No site provided",
|
|
"unknown_error": "[%key:common::config_flow::error::unknown%]"
|
|
},
|
|
"step": {
|
|
"site": {
|
|
"data": {
|
|
"site_id": "Site NMI",
|
|
"site_name": "Site name"
|
|
},
|
|
"description": "Select the NMI of the site you would like to add"
|
|
},
|
|
"user": {
|
|
"data": {
|
|
"api_token": "[%key:common::config_flow::data::api_token%]",
|
|
"site_id": "Site ID"
|
|
},
|
|
"description": "Go to {api_url} to generate an API key"
|
|
}
|
|
}
|
|
},
|
|
"services": {
|
|
"get_forecasts": {
|
|
"name": "Get price forecasts",
|
|
"description": "Retrieves price forecasts from Amber Electric for a site.",
|
|
"fields": {
|
|
"config_entry_id": {
|
|
"description": "The config entry of the site to get forecasts for.",
|
|
"name": "Config entry"
|
|
},
|
|
"channel_type": {
|
|
"name": "Channel type",
|
|
"description": "The channel to get forecasts for."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"exceptions": {
|
|
"integration_not_found": {
|
|
"message": "Config entry \"{target}\" not found in registry."
|
|
},
|
|
"not_loaded": {
|
|
"message": "{target} is not loaded."
|
|
},
|
|
"channel_not_found": {
|
|
"message": "There is no {channel_type} channel at this site."
|
|
}
|
|
},
|
|
"selector": {
|
|
"channel_type": {
|
|
"options": {
|
|
"general": "General",
|
|
"controlled_load": "Controlled load",
|
|
"feed_in": "Feed-in"
|
|
}
|
|
}
|
|
}
|
|
}
|