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 has no data and is called nordpool_kwh_se4_sek_3_10_025 #468

Open
midyrp opened this issue Jan 2, 2025 · 3 comments
Open

sensor has no data and is called nordpool_kwh_se4_sek_3_10_025 #468

midyrp opened this issue Jan 2, 2025 · 3 comments

Comments

@midyrp
Copy link

midyrp commented Jan 2, 2025

Version of the custom_component

0.0.14

Homeassistant version

Core 2024.12.5
Supervisor 2024.12.0

Configuration

Describe the bug

After adding nordpool via the " add intergration" I get

Success!
Created configuration for Nordpool.
We found the following devices:
nordpool_kwh_se4_sek_3_10_025
(nordpool)

The new sensor is called nordpool_kwh_se4_sek_3_10_025 and has no data

Debug log


2025-01-02T17:27:29.398099+01:00 home-server bd9d25a7ac1c[627]: #033[31m2025-01-02 17:27:29.370 ERROR (MainThread) [homeassistant.components.sensor] Error adding entity sensor.nordpool_kwh_se4_sek_3_10_025 for domain sensor with platform nordpool
2025-01-02T17:27:29.398809+01:00 home-server bd9d25a7ac1c[627]:   File "/config/custom_components/nordpool/sensor.py", line 518, in async_added_to_hass
2025-01-02T17:27:29.398952+01:00 home-server bd9d25a7ac1c[627]:   File "/config/custom_components/nordpool/sensor.py", line 480, in handle_new_hr
2025-01-02T17:27:29.399166+01:00 home-server bd9d25a7ac1c[627]:   File "/config/custom_components/nordpool/__init__.py", line 110, in today
2025-01-02T17:27:29.399379+01:00 home-server bd9d25a7ac1c[627]:   File "/config/custom_components/nordpool/__init__.py", line 99, in _someday
2025-01-02T17:27:29.399514+01:00 home-server bd9d25a7ac1c[627]:   File "/config/custom_components/nordpool/__init__.py", line 80, in update_today
2025-01-02T17:27:29.399644+01:00 home-server bd9d25a7ac1c[627]:   File "/config/custom_components/nordpool/__init__.py", line 73, in _update
2025-01-02T17:27:29.399840+01:00 home-server bd9d25a7ac1c[627]:   File "/config/custom_components/nordpool/aio_price.py", line 228, in hourly
2025-01-02T17:27:29.400265+01:00 home-server bd9d25a7ac1c[627]:   File "/config/custom_components/nordpool/aio_price.py", line 217, in fetch
2025-01-02T17:27:29.400491+01:00 home-server bd9d25a7ac1c[627]:   File "/config/custom_components/nordpool/aio_price.py", line 175, in _fetch_json
2025-01-02T17:27:29.433002+01:00 home-server bd9d25a7ac1c[627]: #033[33m2025-01-02 17:27:29.431 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration nordpool with title: Nordpool and entry_id: 01JGKXFTPG3SZG46M3Y3NN04CX, during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1, please report this issue

@midyrp
Copy link
Author

midyrp commented Jan 2, 2025

Removed all nordpool files, rebooted, installed 0.0.17.zip in the config folder, rebooted, added component; same issue

@midyrp
Copy link
Author

midyrp commented Jan 2, 2025

data started to appear, now but only one price, not three (past, current, next) like i've seen in a new install

@Hellowlol
Copy link
Collaborator

Please do a proper reinstall. (Install via hacs) and provide the debug log

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