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

integration calls async_listen with run_immediately which is deprecated #120585

Closed
Anto79-ops opened this issue Jun 26, 2024 · 2 comments · Fixed by #120593
Closed

integration calls async_listen with run_immediately which is deprecated #120585

Anto79-ops opened this issue Jun 26, 2024 · 2 comments · Fixed by #120593
Assignees
Milestone

Comments

@Anto79-ops
Copy link

The problem

Hi

I recieved this error on 2024.7.0b0, but im not sure where its coming from.

2024-06-26 09:21:08.303 WARNING (MainThread) [homeassistant.helpers.frame] Detected that integration 'integration' calls `async_listen` with run_immediately, which is deprecated and will be removed in Home Assistant 2025.5 at homeassistant/components/integration/sensor.py, line 443: self.hass.bus.async_listen(, please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+integration%22
2024-06-26 09:21:08.309 WARNING (MainThread) [homeassistant.helpers.frame] Detected that integration 'integration' calls `async_listen` with run_immediately, which is deprecated and will be removed in Home Assistant 2025.5 at homeassistant/components/integration/sensor.py, line 453: self.hass.bus.async_listen(, please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+integration%22

What version of Home Assistant Core has the issue?

2024.7.0b0

What was the last working version of Home Assistant Core?

pre-2024.7.0b0

What type of installation are you running?

Home Assistant OS

Integration causing the issue

No response

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@Anto79-ops Anto79-ops changed the title 'integration calls async_listen` with run_immediately which is deprecated integration calls async_listen with run_immediately which is deprecated Jun 26, 2024
@frenck frenck added this to the 2024.7.0 milestone Jun 26, 2024
@home-assistant
Copy link

Hey there @dgomes, mind taking a look at this issue as it has been labeled with an integration (integration) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of integration can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign integration Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


integration documentation
integration source
(message by IssueLinks)

@elupus
Copy link
Contributor

elupus commented Jun 26, 2024

We missed it in #113869

@github-actions github-actions bot locked and limited conversation to collaborators Jul 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants