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

ConfigEntryNotReady #70

Closed
Psicrow925 opened this issue Nov 14, 2024 · 23 comments · Fixed by #71
Closed

ConfigEntryNotReady #70

Psicrow925 opened this issue Nov 14, 2024 · 23 comments · Fixed by #71
Assignees

Comments

@Psicrow925
Copy link

Psicrow925 commented Nov 14, 2024

Hello 😊

All my oilfox entities are offline.
I have tried to reinstall the integration, unfortunately without success.
reloading the integration was also unsuccessful.
A host restart did not help either.

unfortunately i don't know what else i can try.

Core 2024.11.1
Supervisor 2024.11.2
Operating System 13.2
Frontend 20241106.2
ha-oilfox v. 1.2.2beta

This is the log from HA

Logger: homeassistant.helpers.entity_platform
Quelle: helpers/entity_platform.py:419
Erstmals aufgetreten: 10:37:42 (4 Vorkommnisse)
Zuletzt protokolliert: 10:40:13

oilfox raises exception ConfigEntryNotReady in forwarded platform sensor; Instead raise ConfigEntryNotReady before calling async_forward_entry_setups
oilfox raises exception ConfigEntryNotReady in forwarded platform binary_sensor; Instead raise ConfigEntryNotReady before calling async_forward_entry_setups

@schnackel
Copy link

Exactly the same for me. Same error message. Reinstalling of the integration didn't change anything to the issue.

Logger: homeassistant.helpers.entity_platform
Quelle: helpers/entity_platform.py:419
Erstmals aufgetreten: 13. November 2024 um 20:00:22 (8 Vorkommnisse)
Zuletzt protokolliert: 10:49:40

oilfox raises exception ConfigEntryNotReady in forwarded platform sensor; Instead raise ConfigEntryNotReady before calling async_forward_entry_setups
oilfox raises exception ConfigEntryNotReady in forwarded platform binary_sensor; Instead raise ConfigEntryNotReady before calling async_forward_entry_setups

@martale76
Copy link

I have the same problem.
I experienced it after updating to HA 2424.11.1. Maybe a coincidence?

@Arturfrain
Copy link

I have the same problem
Core
2024.11.1
Supervisor
2024.11.2
Operating System
13.2
Frontend
20241106.2

@schnackel
Copy link

schnackel commented Nov 14, 2024

@martale76: Might be - my system is on HA 2424.11.1 too. However there was someone reporting an issue with the same error (https://github.com/chises/ha-oilfox/issues/63#issue-2389398582) earlier this year. It looks like that problem "disappeared" somehow.

@MajorTomD
Copy link

Same here!

@joebac66
Copy link

The same

@chises
Copy link
Owner

chises commented Nov 14, 2024

Sorry, for the issue. Going to check this tomorrow!

@Nelbjo
Copy link

Nelbjo commented Nov 14, 2024

Same issue here since upgrading to 2024.11.1

@anda3005
Copy link

hello

i have the same issue:
-->

Core 2024.11.1
Supervisor 2024.11.2
Operating System 13.2
Frontend 20241106.2
ha-oilfox ver 1.2.1

Logger: homeassistant.helpers.entity_platform
Quelle: helpers/entity_platform.py:419
Erstmals aufgetreten: 22:57:07 (2 Vorkommnisse)
Zuletzt protokolliert: 22:57:07

oilfox raises exception ConfigEntryNotReady in forwarded platform sensor; Instead raise ConfigEntryNotReady before calling async_forward_entry_setups
oilfox raises exception ConfigEntryNotReady in forwarded platform binary_sensor; Instead raise ConfigEntryNotReady before calling async_forward_entry_setups

<--
thanks for all

@Stacon1964
Copy link

Stacon1964 commented Nov 15, 2024

the error still seems to exist still the same problem

@chises chises self-assigned this Nov 15, 2024
@chises
Copy link
Owner

chises commented Nov 15, 2024

Hello,
this seems to be related to changes on OilFox side. I added some more debug messages in my dev environment;

2024-11-15 08:16:35.349 DEBUG (MainThread) [custom_components.oilfox.OilFox] Response:
2024-11-15 08:16:35.349 DEBUG (MainThread) [custom_components.oilfox.OilFox] <ClientResponse(https://api.oilfox.io/customer-api/v1/device/) [404 None]>

Error 404 - perhaps they changed something on their side. Let investigate a bit more :)

Update: got the fix in my lab. Removing the traing slash at https://github.com/chises/ha-oilfox/blob/main/custom_components/oilfox/OilFox.py#L28 should fix it.
I am creating a new version for this.

@chises chises linked a pull request Nov 15, 2024 that will close this issue
@chises
Copy link
Owner

chises commented Nov 15, 2024

Issue is gone on my side. Please check the new version v.1.2.3 available via HACS :)

@Stacon1964
Copy link

Stacon1964 commented Nov 15, 2024 via email

@martale76
Copy link

@chises
Works fine now.
Thx

@anda3005
Copy link

super Danke für schnelle lösen, <funktioniert wider super.

@Arturfrain
Copy link

Thank you for the super fast fix 👍😀

@schnackel
Copy link

@chises Thank you for the fix. I highly appreciate it.

@copadewe
Copy link

Hello, this seems to be related to changes on OilFox side. I added some more debug messages in my dev environment;

2024-11-15 08:16:35.349 DEBUG (MainThread) [custom_components.oilfox.OilFox] Response:
2024-11-15 08:16:35.349 DEBUG (MainThread) [custom_components.oilfox.OilFox] <ClientResponse(https://api.oilfox.io/customer-api/v1/device/) [404 None]>

Error 404 - perhaps they changed something on their side. Let investigate a bit more :)

Update: got the fix in my lab. Removing the traing slash at https://github.com/chises/ha-oilfox/blob/main/custom_components/oilfox/OilFox.py#L28 should fix it. I am creating a new version for this.

I´m sorry, just noticed that my integration also not work, got the latest version 1.2.3 but still
grafik
grafik

any tip for me?
Regards

@chises
Copy link
Owner

chises commented Dec 29, 2024

@copadewe can you check the ha logs at system and check for something oilfox related? :)

@copadewe
Copy link

@copadewe can you check the ha logs at system and check for something oilfox related? :)

Last signal 15. November
some entities have no signal before
grafik
but some at 15.11.

grafik
grafik
grafik

@chises
Copy link
Owner

chises commented Jan 2, 2025

Please go to Settings - System - Logs and check there for oilfox related and post it please. If you find some logs feel free to create a new issue :) @copadewe

@joebac66
Copy link

joebac66 commented Jan 2, 2025 via email

@copadewe
Copy link

copadewe commented Jan 5, 2025

Please go to Settings - System - Logs and check there for oilfox related and post it please. If you find some logs feel free to create a new issue :) @copadewe

sorry for late reply, will do!

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

Successfully merging a pull request may close this issue.