We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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,)]
The text was updated successfully, but these errors were encountered:
Hola @francisco-navarro ,
¿Estás usando la última versión de home-assistant y de ha-ideenergy?
Sorry, something went wrong.
Lo acabo de comprobar y veo todo actualizado: HA 2022.8.6 ha-ideenergy: 0.2.3
No branches or pull requests
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,)]
The text was updated successfully, but these errors were encountered: