We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b891c2 commit b401d9eCopy full SHA for b401d9e
custom_components/octopus_energy/api_client/__init__.py
@@ -1058,7 +1058,7 @@ async def async_get_greener_nights_forecast(self) -> list[GreennessForecast]:
1058
london_tz = pytz.timezone('Europe/London')
1059
forecast = list(
1060
map(lambda item: GreennessForecast(
1061
- parse_datetime(f"{item["date"]}T11:00:00").astimezone(london_tz),
+ parse_datetime(f"{item["date"]}T23:00:00").astimezone(london_tz),
1062
parse_datetime(f"{item["date"]}T06:00:00").astimezone(london_tz) + timedelta(days=1),
1063
int(item["greennessScore"]),
1064
item["greennessIndex"],
0 commit comments