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

Detected that custom integration 'adaptive_lighting' accesses hass.helpers.entity_component. #1017

Closed
4 tasks done
rwjack opened this issue Jun 21, 2024 · 2 comments
Closed
4 tasks done

Comments

@rwjack
Copy link
Contributor

rwjack commented Jun 21, 2024

Home Assistant Adaptive Lighting Issue Template

Bug Reports

Detected that custom integration 'adaptive_lighting' accesses hass.helpers.entity_component. This is deprecated and will stop working in Home Assistant 2024.11, it should be updated to import functions used from entity_component directly at custom_components/adaptive_lighting/switch.py, line 2492: await self.hass.helpers.entity_component.async_update_entity(light), please create a bug report at https://github.com/basnijholt/adaptive-lighting/issues

Please confirm that you have completed the following steps:

  1. Describe the bug and how to reproduce it:

Occurs some time after boot, likely the first time Lights are adapted during the day.

@ncd7
Copy link

ncd7 commented Aug 17, 2024

Seeing the same in the logs.

@rwjack
Copy link
Contributor Author

rwjack commented Aug 21, 2024

Problem file:

await self.hass.helpers.entity_component.async_update_entity(light)

Similar fix for another addon: hacs/integration#3528

rwjack added a commit to rwjack/adaptive-lighting that referenced this issue Aug 24, 2024
rwjack added a commit to rwjack/adaptive-lighting that referenced this issue Aug 24, 2024
@rwjack rwjack mentioned this issue Aug 25, 2024
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants