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

Another case of Detected that custom integration 'battery_notes' uses async_config_entry_first_refresh #2526

Closed
6 tasks done
tanbronson opened this issue Dec 23, 2024 · 1 comment · Fixed by #2550
Closed
6 tasks done
Assignees
Labels
HA deprecation warning Something to fix when min version is high enough

Comments

@tanbronson
Copy link

System Health details

Version core-2024.12.5
Installation type Home Assistant OS
Development false
Supervisor true
Docker true
User root
Virtual environment false
Python version 3.13.0
Operating system family Linux
Operating system version 6.6.66-haos
CPU architecture aarch64
Timezone America/New_York
Configuration directory /config

Checklist

  • I have added battery_notes: to my configuration.yaml and restarted.
  • I have read the FAQ's.
  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of any previous issues..

Describe the issue

This looks similar to another reported issue, but this error message seems more descriptive.
Feel free to reject if this is a duplicate.

Logger: homeassistant.helpers.frame
Source: helpers/frame.py:324
First occurred: December 22, 2024 at 5:03:10 PM (2 occurrences)
Last logged: December 22, 2024 at 5:03:10 PM

Detected that custom integration 'battery_notes' uses async_config_entry_first_refresh, which is only supported when entry state is ConfigEntryState.SETUP_IN_PROGRESS, but it is in state ConfigEntryState.LOADED at custom_components/battery_notes/binary_sensor.py, line 582: await self.coordinator.async_config_entry_first_refresh(). This will stop working in Home Assistant 2025.11, please create a bug report at https://github.com/andrew-codechimp/ha-battery-notes/issues
Detected that custom integration 'battery_notes' uses async_config_entry_first_refresh, which is only supported when entry state is ConfigEntryState.SETUP_IN_PROGRESS, but it is in state ConfigEntryState.LOADED at custom_components/battery_notes/sensor.py, line 513: await self.coordinator.async_config_entry_first_refresh(). This will stop working in Home Assistant 2025.11, please create a bug report at https://github.com/andrew-codechimp/ha-battery-notes/issues

Reproduction steps

  1. No Idea

...

Debug logs

No response

Diagnostics dump

No response

@andrew-codechimp andrew-codechimp added the HA deprecation warning Something to fix when min version is high enough label Dec 23, 2024
@andrew-codechimp andrew-codechimp self-assigned this Dec 23, 2024
@andrew-codechimp
Copy link
Owner

That is different, I'll look into a fix for that one.
Thanks for reporting it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HA deprecation warning Something to fix when min version is high enough
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants