pyscript
pyscript copied to clipboard
DEPRECIATED Warning: sets option flow config_entry explicitly
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
@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.
I pushed a temporary hack fix a5f3cde, but not sure if it works. Please test master.
I tried the hack. The warning is still present but I am not a specialist. Rgds.
this might fix it : https://github.com/custom-components/pyscript/pull/702