Update const.py
This commit is contained in:
@ -7,6 +7,10 @@ API_TIMEOUT = 60
|
|||||||
BUY_ENDPOINT = "pricing/?resolution=hour&window_start={start}&window_end={end}"
|
BUY_ENDPOINT = "pricing/?resolution=hour&window_start={start}&window_end={end}"
|
||||||
SELL_ENDPOINT = "prosumer-pricing/?resolution=hour&window_start={start}&window_end={end}"
|
SELL_ENDPOINT = "prosumer-pricing/?resolution=hour&window_start={start}&window_end={end}"
|
||||||
|
|
||||||
|
# Energy cost and usage endpoints
|
||||||
|
ENERGY_COST_ENDPOINT = "meter-data/energy-cost/?resolution={resolution}&window_start={start}&window_end={end}&for_tz=Europe/Warsaw"
|
||||||
|
ENERGY_USAGE_ENDPOINT = "meter-data/energy-usage/?resolution={resolution}&window_start={start}&window_end={end}&for_tz=Europe/Warsaw"
|
||||||
|
|
||||||
ATTR_BUY_PRICE = "buy_price"
|
ATTR_BUY_PRICE = "buy_price"
|
||||||
ATTR_SELL_PRICE = "sell_price"
|
ATTR_SELL_PRICE = "sell_price"
|
||||||
ATTR_HOURS = "hours"
|
ATTR_HOURS = "hours"
|
||||||
|
|||||||
Reference in New Issue
Block a user