Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

predbat.plan_html exceed maximum size of 16384 bytes #438

Closed
dbrb2 opened this issue Dec 7, 2023 · 4 comments
Closed

predbat.plan_html exceed maximum size of 16384 bytes #438

dbrb2 opened this issue Dec 7, 2023 · 4 comments

Comments

@dbrb2
Copy link

dbrb2 commented Dec 7, 2023

This doesn't seem to cause any real world problems, but seemed worth mentioning - as has been cropping up in the logs a lot:

Logger: homeassistant.components.recorder.db_schema
Source: components/recorder/db_schema.py:582
Integration: Recorder (documentation, issues)
First occurred: 12:07:19 (31 occurrences)
Last logged: 13:50:19

State attributes for predbat.plan_html exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored
@gcoan
Copy link
Collaborator

gcoan commented Dec 7, 2023 via email

@dbrb2
Copy link
Author

dbrb2 commented Dec 7, 2023 via email

@gcoan
Copy link
Collaborator

gcoan commented Dec 7, 2023

Thanks @dbrb2 that was my fault, cut and paste error when copying the code from my configuration.yaml across into predbat

It was part of a larger filter I had to also remove similar octopus energy warnings, vis:

    homeassistant.components.recorder.db_schema: 
      - "State attributes for sensor.octopus_energy_electricity_xxxx_export_current_rate exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored"
      - "State attributes for sensor.octopus_energy_electricity_xxxx_current_rate exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored"
      - "State attributes for predbat.plan_html exceed maximum size of 16384 bytes. This can cause database performance issues; Attributes will not be stored"
    homeassistant.helpers.entity:
      - "Update of sensor.octopus_energy_electricity_xxxx_export_previous_accumulative_cost is taking over 10 seconds"
      - "Update of sensor.octopus_energy_electricity_xxxx_previous_accumulative_cost is taking over 10 seconds"

and I accidentally deleted the logger line.

Corrected in PR #439

@gcoan
Copy link
Collaborator

gcoan commented Dec 12, 2023

@springfall2008 think this can be closed now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants