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

HA 2022.9 Issue cannot import name 'ATTR_WHITE_VALUE' #336

Closed
jacko85 opened this issue Sep 8, 2022 · 3 comments
Closed

HA 2022.9 Issue cannot import name 'ATTR_WHITE_VALUE' #336

jacko85 opened this issue Sep 8, 2022 · 3 comments

Comments

@jacko85
Copy link

jacko85 commented Sep 8, 2022

Hi,

Since updated to HA 2022.9, the integration isn't loading with the UI showing "Failed to set up: Import error"

The log itself shows this error:
Error importing platform config_flow from integration adaptive_lighting to set up adaptive_lighting configuration entry: cannot import name 'ATTR_WHITE_VALUE' from 'homeassistant.components.light' (/usr/src/homeassistant/homeassistant/components/light/init.py)

A quick search for that shows this might be affecting other integrations also StyraHem/ShellyForHASS#713

@basnijholt
Copy link
Owner

Please update to the latest version of Adaptive Lighting. This issue should be fixed.

@jacko85
Copy link
Author

jacko85 commented Sep 8, 2022

That worked, perfect thankyou.

Wish HACS updates were more obvious! :)

@jacko85 jacko85 closed this as completed Sep 8, 2022
@Alethio36
Copy link

solved the issue for me as well (the update). i agree, the HACS update is kinda sneaky

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

3 participants