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

Error en histórico experimental #22

Open
francisco-navarro opened this issue Aug 18, 2022 · 2 comments
Open

Error en histórico experimental #22

francisco-navarro opened this issue Aug 18, 2022 · 2 comments
Labels
question Further information is requested

Comments

@francisco-navarro
Copy link

Al intentar añadir el histórico me salta el siguiente error:

2022-08-18 19:45:20 DEBUG (MainThread) [custom_components.ideenergy.historical_state] Got 168 measures from sensor
2022-08-18 19:45:20 DEBUG (MainThread) [custom_components.ideenergy.historical_state] Executor job set to write them
2022-08-18 19:45:20 DEBUG (MainThread) [custom_components.ideenergy.historical_state] sensor.icp_es00000000000mw_historical: updating each 21600.0 seconds
2022-08-18 19:45:20 DEBUG (DbWorker_2) [custom_components.ideenergy.historical_state] Writing states on recorder
2022-08-18 19:45:21 ERROR (DbWorker_2) [homeassistant.components.recorder.util] Error executing query: (sqlite3.IntegrityError) FOREIGN KEY constraint failed
[SQL: DELETE FROM states WHERE states.state_id = ?]
[parameters: (708,)]

@ldotlopez
Copy link
Owner

Hola @francisco-navarro ,

¿Estás usando la última versión de home-assistant y de ha-ideenergy?

@ldotlopez ldotlopez added the question Further information is requested label Aug 19, 2022
@francisco-navarro
Copy link
Author

Lo acabo de comprobar y veo todo actualizado:
HA 2022.8.6
ha-ideenergy: 0.2.3

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

No branches or pull requests

2 participants