mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-09-13 07:21:16 +00:00
Fix electricity price prediction. (#295)
The electricity price prediction provided prices in Eurocent/ kWh despite claiming the price to be in €/ kWh. Also the addition of charges was not possible. Now prices are provided in €/kWh. Charges can be configured by the `elecprice_charges` configuration option. Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com>
This commit is contained in:
@@ -2511,7 +2511,20 @@
|
||||
}
|
||||
],
|
||||
"title": "Elecprice Provider",
|
||||
"description": "Electicity price provider id of provider to be used."
|
||||
"description": "Electricity price provider id of provider to be used."
|
||||
},
|
||||
"elecprice_charges": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "number",
|
||||
"minimum": 0.0
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"title": "Elecprice Charges",
|
||||
"description": "Electricity price charges (\u20ac/kWh)."
|
||||
},
|
||||
"prediction_hours": {
|
||||
"anyOf": [
|
||||
@@ -5138,7 +5151,20 @@
|
||||
}
|
||||
],
|
||||
"title": "Elecprice Provider",
|
||||
"description": "Electicity price provider id of provider to be used."
|
||||
"description": "Electricity price provider id of provider to be used."
|
||||
},
|
||||
"elecprice_charges": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "number",
|
||||
"minimum": 0.0
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"title": "Elecprice Charges",
|
||||
"description": "Electricity price charges (\u20ac/kWh)."
|
||||
},
|
||||
"prediction_hours": {
|
||||
"anyOf": [
|
||||
|
Reference in New Issue
Block a user