Skip to content

Nordpool sensor attributes not recorded in database because maximum sensor size of 16kB exceeded #499

@nelgi

Description

@nelgi

Version of the custom_component

0.0.17 + PR #491

Homeassistant version

2025.10.0

Describe the bug

on 1st of October price data quadrupled, from 1h resolution to 15m resolution. As soon as the Nordpool sensor receives tomorrows data it is unable to record sensor attributes in database and History graph stops being updated, these symptoms last until midnight, when the previous day attributes are removed from sensor, and sensor size becomes below 16kB again..

Screenshot from 19:45, on the graph the senor data stopped updating at 14:15:
Image
And another one from the following morning, indicating the cap:

Image

Log


Logger: homeassistant.components.recorder.db_schema
Source: components/recorder/db_schema.py:663
integration: Recorder (documentation, issues)
First occurred: 14:21:22 (88 occurrences)
Last logged: 19:30:00

State attributes for sensor.nordpool_kwh_ee_eur_3_10_0 exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
State attributes for sensor.nordpool_kwh_ee_eur_3_10_022 exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
State attributes for sensor.nordpool_kwh_ee_eur_3_095_022 exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
State attributes for sensor.nordpool_kwh_ee_eur_3_095_0 exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions