Skip to content

Deprecation WARNING message in HA Log #657

Open
@dy-nz

Description

@dy-nz

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 :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions