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

Deprecation WARNING message in HA Log #657

Open
dy-nz opened this issue Nov 8, 2024 · 5 comments · May be fixed by #658
Open

Deprecation WARNING message in HA Log #657

dy-nz opened this issue Nov 8, 2024 · 5 comments · May be fixed by #658

Comments

@dy-nz
Copy link

dy-nz commented Nov 8, 2024

Hi,
today I received the following line in the HA Log:

2024-11-08 13:37:12.510 WARNING (ImportExecutor_0) [homeassistant.core] Config was used from pyscript, this is a deprecated alias which will be removed in HA Core 2025.11. Use homeassistant.core_config.Config instead, please report it to the author of the 'pyscript' custom integration

Not sure what is causing it.
I use the following lines in my pyscript file, but removing them doesn't cause the WARNING to disappear:

from homeassistant.config import async_hass_config_yaml
yy = async_hass_config_yaml(hass)['input_select']['zm_sound_mode']['initial']
xx = hass.config.config_dir

Is there anything I should update in my pyscript ?

Thanks, David.

And, pyscript is still the best Integration :-)

@ALERTua ALERTua linked a pull request Nov 8, 2024 that will close this issue
@ALERTua
Copy link
Contributor

ALERTua commented Nov 8, 2024

fix incoming #658
thank you for your report!

@dy-nz
Copy link
Author

dy-nz commented Nov 16, 2024

Thanks

@Matthias1977-tech
Copy link

Hallo, ich habe auch die Fehlermeldung. Wird das noch gefixt oder was kann ich dagegen tun?

Danke.

@ALERTua
Copy link
Contributor

ALERTua commented Nov 19, 2024

@Matthias1977-tech you can either wait for #658 to be merged or implement its changes in your local copy of the code at /config/custom_components/pyscript

@Just-Zuul
Copy link

Nearly the same Log entry after Update HA from 2024.10.4 to 2024.11.2

Logger: homeassistant.core
Quelle: helpers/deprecation.py:222
Erstmals aufgetreten: 10:36:55 (1 Vorkommnisse)
Zuletzt protokolliert: 10:36:55

Config was used from pyscript, this is a deprecated alias which will be removed in HA Core 2025.11. Use homeassistant.core_config.Config instead, please report it to the author of the 'pyscript' custom integration

Before I make a manual change, when will the update of the integration comes out ?
Thanks in adv.

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 a pull request may close this issue.

4 participants