Skip to content

Incorrect Average price #506

@MsEDok

Description

@MsEDok

Version of the custom_component

0.0.17

Homeassistant version

2025.10.2

Configuration

sensor:
  - platform: nordpool
    region: "SE3"
    currency: "SEK"
    VAT: False
    precision: 6
    low_price_cutoff: 0
    price_in_cents: false
    price_type: kWh
    additional_costs: "{{0.0|float}}"

Describe the bug

i setup 2 ha instance and i have one runnign this config for awhile
i check the average price for first instance that have been running for awhile 0,591214 SEK/kWh
i check the average price for second instance that have just added the component 0.5904775 SEK/kWh

i check nordpool Average: 590,48 which is 0.59047 SEK/kWh

so somehow the first instance get the incorrect data. if i were to remove the first instance then readd it i get the correct aerage

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions