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

Sensor Entity in HA not being created #2

Open
jawn22 opened this issue Jul 2, 2024 · 1 comment
Open

Sensor Entity in HA not being created #2

jawn22 opened this issue Jul 2, 2024 · 1 comment

Comments

@jawn22
Copy link

jawn22 commented Jul 2, 2024

Firstly, thanks for the time creating this - really useful insight into agile prices to enable me to reduce my bills/use higher energy devices during predicted lower carbon periods.

I had the sensor setup and it was working well, however a month or so ago it stopped working (I've only just gotten around to spending time on investigating it). Looking at the logs, I'm getting the following error:

Logger: homeassistant.components.recorder.db_schema
Source: components/recorder/db_schema.py:598
integration: Recorder (documentation, issues)
First occurred: 13:28:27 (2 occurrences)
Last logged: 13:28:28

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

Any ideas on resolving this?

@jawn22 jawn22 closed this as completed Jul 2, 2024
@fboundy fboundy reopened this Jul 2, 2024
@fboundy
Copy link
Owner

fboundy commented Jul 2, 2024

I'm pretty sure this error shouldn't stop it working - it just won't save historic attributes to the database.

That said, I've just update the API so it only sends the latest forecast rather than the last 3. I need to add a couple of parameters to the API so that you can select:

  • How many forecasts you want
  • How many days you want
  • Whether you want the high and low as well as the mid case

I'll update this issue once these are added

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

2 participants