mirror of
https://github.com/home-assistant/core.git
synced 2026-08-03 20:24:55 +02:00
1f4bfb655d
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
90 lines
2.6 KiB
JSON
90 lines
2.6 KiB
JSON
{
|
|
"config": {
|
|
"abort": {
|
|
"already_configured": "[%key:common::config_flow::abort::already_configured_service%]"
|
|
},
|
|
"error": {
|
|
"cannot_connect": "Failed to connect to Green Planet Energy API",
|
|
"invalid_auth": "Invalid authentication",
|
|
"unknown": "Unexpected error occurred"
|
|
},
|
|
"step": {
|
|
"user": {
|
|
"description": "Setup for the Green Planet Energy electricity price integration"
|
|
}
|
|
}
|
|
},
|
|
"entity": {
|
|
"sensor": {
|
|
"current_price": {
|
|
"name": "Current price"
|
|
},
|
|
"highest_price_time": {
|
|
"name": "Highest price time"
|
|
},
|
|
"highest_price_today": {
|
|
"name": "Highest price today"
|
|
},
|
|
"lowest_price_day": {
|
|
"name": "Lowest price day {time_range}"
|
|
},
|
|
"lowest_price_day_time": {
|
|
"name": "Lowest price day time {time_range}"
|
|
},
|
|
"lowest_price_night": {
|
|
"name": "Lowest price night {time_range}"
|
|
},
|
|
"lowest_price_night_time": {
|
|
"name": "Lowest price night time {time_range}"
|
|
}
|
|
}
|
|
},
|
|
"exceptions": {
|
|
"api_error": {
|
|
"message": "API error: {error}"
|
|
},
|
|
"config_entry_not_loaded": {
|
|
"message": "This integration instance is not currently loaded"
|
|
},
|
|
"connection_error": {
|
|
"message": "Connection error: {error}"
|
|
},
|
|
"no_config_entry": {
|
|
"message": "No matching integration instance was found"
|
|
},
|
|
"no_data_available": {
|
|
"message": "No price data available for the requested duration and time range"
|
|
}
|
|
},
|
|
"services": {
|
|
"get_cheapest_duration": {
|
|
"description": "Retrieves electricity price data and finds the cheapest consecutive time window for a given duration.",
|
|
"fields": {
|
|
"duration": {
|
|
"description": "Duration in hours for which to find the cheapest time window.",
|
|
"name": "Duration"
|
|
},
|
|
"time_range": {
|
|
"description": "Time range to search within.",
|
|
"name": "Time range"
|
|
}
|
|
},
|
|
"name": "Get cheapest time window"
|
|
},
|
|
"get_prices": {
|
|
"description": "Returns raw 15-minute electricity price slots for the next N hours. Slots beyond the API horizon are omitted.",
|
|
"fields": {
|
|
"config_entry_id": {
|
|
"description": "The Green Planet Energy integration instance to use.",
|
|
"name": "Config entry"
|
|
},
|
|
"hours": {
|
|
"description": "How many hours of price data to return, starting from the current 15-minute slot. Minimum 0.25, maximum 24.",
|
|
"name": "Hours"
|
|
}
|
|
},
|
|
"name": "Get energy prices"
|
|
}
|
|
}
|
|
}
|