Skip to content

[Solution] Config was used from dpc, this is a deprecated alias which will be removed in HA Core 2025.11Β #64

@micium

Description

@micium

Describe the bug
Only a warning

To Reproduce
message log from HA 2024.11.0

Expected behavior
no warning - deprecated statement

**Solution:
replace statement in /homeassistant/custom_components/dpc/init.py

line 20: from homeassistant.core import Config, HomeAssistant
new 20: from homeassistant.helpers.typing import ConfigType

line 38 : async def async_setup(hass: HomeAssistant, config: Config):
new 38: async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:

Additional context
suggestion

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions