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

DEPRECIATED Warning: sets option flow config_entry explicitly #686

Open
Barrow1990 opened this issue Jan 18, 2025 · 4 comments
Open

DEPRECIATED Warning: sets option flow config_entry explicitly #686

Barrow1990 opened this issue Jan 18, 2025 · 4 comments

Comments

@Barrow1990
Copy link

HA Version: 2025.1.2
Log Message: 2025-01-18 22:08:13.421 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'pyscript' sets option flow config_entry explicitly, which is deprecated at custom_components/pyscript/config_flow.py, line 29: self.config_entry = config_entry. This will stop working in Home Assistant 2025.12, please create a bug report at https://github.com/custom-components/pyscript/issues

@craigbarratt
Copy link
Member

@raman325 - could you please take a look at this? It would be great to update config_flow.py to match the current methods that hass supports.

@craigbarratt
Copy link
Member

I pushed a temporary hack fix a5f3cde, but not sure if it works. Please test master.

@pganansia
Copy link

I tried the hack.
The warning is still present but I am not a specialist.
Rgds.

@LucidityCrash
Copy link

this might fix it : #702

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

No branches or pull requests

4 participants