Skip to content

Error 400 received from the API when forecasting enabled #200

@rasser900

Description

@rasser900

Describe the issue

Image

Today I kept getting Error 400 from the API (it has been working flawlessly for the last month, and I haven't changed anything, nor have I updated Home Assistant in the last couple of weeks).

As soon as I disabled the "include forecast" option, it reloaded with success.

What version of Home Assistant Core has the issue?

2025.10.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Anything in the logs that might be useful for us?

2025-10-19 14:47:43.302 DEBUG (MainThread) [custom_components.stromligning.api] Setting location to 57.0xxxx, 9.9xxxx
2025-10-19 14:47:43.599 DEBUG (MainThread) [custom_components.stromligning.api] Setting company to vindstoed_elforbundet_2025
2025-10-19 14:47:43.599 DEBUG (MainThread) [custom_components.stromligning.api] Setting aggregation to 1h
2025-10-19 14:47:43.599 DEBUG (MainThread) [custom_components.stromligning.api] Setting forecast to True
2025-10-19 14:47:43.757 ERROR (MainThread) [custom_components.stromligning] Unable to connect to the Stromligning API: Error 400 received from the API

Additional information

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions