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

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

Open
micium opened this issue Nov 9, 2024 · 0 comments

Comments

@micium
Copy link

micium commented Nov 9, 2024

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

@micium micium changed the title Config was used from dpc, this is a deprecated alias which will be removed in HA Core 2025.11 [Solved] Config was used from dpc, this is a deprecated alias which will be removed in HA Core 2025.11 Nov 9, 2024
@micium micium changed the title [Solved] Config was used from dpc, this is a deprecated alias which will be removed in HA Core 2025.11 [Solution] Config was used from dpc, this is a deprecated alias which will be removed in HA Core 2025.11 Nov 15, 2024
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

1 participant