Logger: custom_components.energidataservice.tariffs.energidataservice
Source: custom_components/energidataservice/tariffs/energidataservice/init.py:209
integration: Energi Data Service (documentation, issues)
First occurred: 7:24:33 AM (3 occurrences)
Last logged: 7:25:13 AM
Error during API request: Cannot connect to host api.energidataservice.dk:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)')]
What version of Home Assistant Core has the issue?
core-2024.8.2
What was the last working version of Home Assistant Core?
Describe the issue
Integration not loading:
Logger: custom_components.energidataservice.tariffs.energidataservice Source: custom_components/energidataservice/tariffs/energidataservice/init.py:209 integration: Energi Data Service (documentation, issues) First occurred: 7:24:33 AM (3 occurrences) Last logged: 7:25:13 AM
Error during API request: Cannot connect to host api.energidataservice.dk:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)')]
What version of Home Assistant Core has the issue?
core-2024.8.2
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Supervised
Diagnostics information
Energi Data Service integration
Version: 1.5.10 This is a custom integration If you have any issues with this you need to open an issue here: https://github.com/mtrab/energidataservice/issues
2024-08-20 07:31:21.664 DEBUG (MainThread) [custom_components.energidataservice.utils.regionhandler] Looking up region for description: East of the great belt 2024-08-20 07:31:21.664 DEBUG (MainThread) [custom_components.energidataservice.utils.regionhandler] - Found description in DK2 2024-08-20 07:31:21.664 DEBUG (MainThread) [custom_components.energidataservice.utils.regionhandler] Looking up country from region: DK2 2024-08-20 07:31:21.664 DEBUG (MainThread) [custom_components.energidataservice.utils.regionhandler] - Found region in Denmark 2024-08-20 07:31:21.673 DEBUG (MainThread) [custom_components.energidataservice.connectors] Adding module energidataservice in path /config/custom_components/energidataservice/connectors/energidataservice 2024-08-20 07:31:21.677 DEBUG (MainThread) [custom_components.energidataservice.connectors] Adding module fixedprice in path /config/custom_components/energidataservice/connectors/fixedprice 2024-08-20 07:31:21.681 DEBUG (MainThread) [custom_components.energidataservice.connectors] Adding module nordpool in path /config/custom_components/energidataservice/connectors/nordpool 2024-08-20 07:31:21.685 DEBUG (MainThread) [custom_components.energidataservice.forecasts] Adding module carnot 2024-08-20 07:31:21.690 DEBUG (MainThread) [custom_components.energidataservice.tariffs] Adding module energidataservice 2024-08-20 07:31:21.694 DEBUG (MainThread) [custom_components.energidataservice] Getting latest CO2 dataset 2024-08-20 07:31:21.694 DEBUG (MainThread) [custom_components.energidataservice.api] Updating CO2 emissions for 'DK2' 2024-08-20 07:31:21.695 DEBUG (MainThread) [custom_components.energidataservice.connectors] Connector(module='energidataservice', namespace='.connectors.energidataservice', regions={'SE4', 'DK2', 'SE3', 'NO2', 'DK1'}) = {'SE4', 'DK2', 'SE3', 'NO2', 'DK1'} 2024-08-20 07:31:21.696 DEBUG (MainThread) [custom_components.energidataservice.connectors] Connector(module='fixedprice', namespace='.connectors.fixedprice', regions={'FIXED'}) = {'FIXED'} 2024-08-20 07:31:21.696 DEBUG (MainThread) [custom_components.energidataservice.connectors] Connector(module='nordpool', namespace='.connectors.nordpool', regions={'SE4', 'NO5', 'EE', 'DE', 'DK1', 'BE', 'FR', 'NO2', 'SE2', 'NO3', 'SE1', 'FI', 'NL', 'AT', 'LV', 'LT', 'DK2', 'SE3', 'NO4', 'NO1', 'LU'}) = {'SE4', 'NO5', 'EE', 'DE', 'DK1', 'BE', 'FR', 'NO2', 'SE2', 'NO3', 'SE1', 'FI', 'NL', 'AT', 'LV', 'LT', 'DK2', 'SE3', 'NO4', 'NO1', 'LU'} 2024-08-20 07:31:21.697 DEBUG (MainThread) [custom_components.energidataservice.api] Valid connectors for 'DK2' is: [Connector(module='energidataservice', namespace='.connectors.energidataservice'), Connector(module='nordpool', namespace='.connectors.nordpool')] 2024-08-20 07:31:21.700 DEBUG (MainThread) [custom_components.energidataservice.connectors.energidataservice] Request body for DK2 via Energi Data Service API URL: https://api.energidataservice.dk/dataset/elspotprices?start=2024-08-19&end=2024-08-22&filter=%7B%22PriceArea%22:%22DK2%22%7D&sort=HourUTC%20asc&columns=HourUTC,SpotPriceEUR&limit=150 2024-08-20 07:31:21.796 DEBUG (MainThread) [custom_components.energidataservice.api] No CO2 data for this region 2024-08-20 07:31:21.797 DEBUG (MainThread) [custom_components.energidataservice] Next CO2 data refresh '08:31:21' 2024-08-20 07:31:21.801 DEBUG (MainThread) [custom_components.energidataservice.tariffs] Adding module energidataservice 2024-08-20 07:31:21.803 DEBUG (MainThread) [custom_components.energidataservice.tariffs] Finding valid endpoints for region 'DK2' 2024-08-20 07:31:21.883 ERROR (MainThread) [custom_components.energidataservice.tariffs.energidataservice] Error during API request: Cannot connect to host api.energidataservice.dk:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)')] 2024-08-20 07:31:31.957 ERROR (MainThread) [custom_components.energidataservice.tariffs.energidataservice] Error during API request: Cannot connect to host api.energidataservice.dk:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)')] 2024-08-20 07:32:02.029 ERROR (MainThread) [custom_components.energidataservice.tariffs.energidataservice] Error during API request: Cannot connect to host api.energidataservice.dk:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)')]
Anything in the logs that might be useful for us?
No response
Additional information
No response