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

Remove deprecated 'run_immediately' #991

Merged
merged 1 commit into from
May 12, 2024
Merged

Remove deprecated 'run_immediately' #991

merged 1 commit into from
May 12, 2024

Conversation

casse-boubou
Copy link
Contributor

Remove 'run_immediately' which will be deprecated in version 2025.5

I removed 'run immediately' from the 'async_listen' and 'async_listen_once' calls since this argument will be deprecated in versions > 2025.5 as indicated in the debug LOG

Detected that custom integration 'adaptive_lighting' calls `async_listen` with run_immediately, which is deprecated and will be removed in Home Assistant 2025.5 at custom_components/adaptive_lighting/switch.py, line 1665: self.hass.bus.async_listen(, please create a bug report at https://github.com/basnijholt/adaptive-lighting/issues
Detected that custom integration 'adaptive_lighting' calls `async_listen` with run_immediately, which is deprecated and will be removed in Home Assistant 2025.5 at custom_components/adaptive_lighting/switch.py, line 1670: self.hass.bus.async_listen(, please create a bug report at https://github.com/basnijholt/adaptive-lighting/issues
Detected that custom integration 'adaptive_lighting' calls `async_listen_once` with run_immediately, which is deprecated and will be removed in Home Assistant 2025.5 at custom_components/adaptive_lighting/switch.py, line 958: self.hass.bus.async_listen_once(, please create a bug report at https://github.com/basnijholt/adaptive-lighting/issues

As well as on this pull request from HomeAssistant Core : home-assistant/core#115169

This resolves the issue #984

I hope I don't do anything stupid, I just want to make my little contribution
Thank you for the work you put in for this custom_component!

Remove 'run_immediately' which will be deprecated in version 2025.5
@basnijholt basnijholt merged commit b746e5f into basnijholt:main May 12, 2024
24 of 25 checks passed
@basnijholt
Copy link
Owner

@all-contributors add @erdnaxela02 for code

Copy link
Contributor

@basnijholt

I've put up a pull request to add @erdnaxela02! 🎉

@basnijholt basnijholt mentioned this pull request May 15, 2024
4 tasks
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 this pull request may close these issues.

2 participants