You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
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
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
The text was updated successfully, but these errors were encountered: