Skip to content

Tibber get_prices doesn't return tomorrows prices until 18:00 (or sometime after 17:00) #129014

Description

@EagleStClair

The problem

The action get_prices doesn't return tomorrows prices until somewhere between 17:00 and 18:00 despite the integration fetches them somewhere shortly after 13:00.

This is a template sensor that refreshes hourly and executes get_prices, as the state shows the count of new prices always increases at 18:00.
image

What version of Home Assistant Core has the issue?

2024.10.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Tibber

Link to integration documentation on our website

https://www.home-assistant.io/integrations/tibber

Diagnostics information

No response

Example YAML snippet

- trigger:
    - platform: time_pattern
      minutes: 0
      seconds: 0
  action:
    - service: tibber.get_prices
      data:
        start: "{{ now().replace(minute=0, second=0, microsecond=0) }}"
        end: "{{ today_at('23:59') + timedelta(days=1) }}"
      response_variable: future_prices
    - variables:
        price_data: >
          {{ future_prices.prices.Grankullen | default([]) | map(attribute='price') | list }}
  sensor:
    - name: Tibber Future Prices
      unique_id: tibber_future_prices
      state: "{{ price_data | count() }}"

Anything in the logs that might be useful for us?

No response

Additional information

No response

Metadata

Metadata

Type

No type

Fields

Priority

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions