Closed Dino0005 closed 1 month ago
Since no one responded I tried to correct the custom_components/solis/__init__.py
file myself...and I did it this way
line 11
from homeassistant.core import HomeAssistant, ServiceCall
line 14
from homeassistant.helpers.typing import ConfigType
line 37
async def async_setup(hass: HomeAssistant, config: ConfigType):
Since no one responded I tried to correct the
custom_components/solis/__init__.py
file myself...and I did it this way line 11from homeassistant.core import HomeAssistant, ServiceCall
line 14from homeassistant.helpers.typing import ConfigType
line 37async def async_setup(hass: HomeAssistant, config: ConfigType):
Same issue here. works it for you? In my case not.
Yes, after Home Assistant restarting I no longer get the deprecated alias warning
Solved as part of #380
Deprecated alias which will be removed in HA Core 2025.5
HA Version 2024.5.0 on Home Assistant Yellow HACS Version: None (manual installation of Solis integration) Integration version: 3.5.2
Log: Registratore: homeassistant.helpers.typing Fonte: helpers/deprecation.py:206 Prima occorrenza: 17:22:44 (2 occorrenze) Ultima registrazione: 17:22:44
HomeAssistantType was used from solis, this is a deprecated alias which will be removed in HA Core 2025.5. Use homeassistant.core.HomeAssistant instead, please report it to the author of the 'solis' custom integration ServiceCallType was used from solis, this is a deprecated alias which will be removed in HA Core 2025.5. Use homeassistant.core.ServiceCall instead, please report it to the author of the 'solis' custom integration