Rudd-O / homeassistant-meteoswiss

:sun_behind_rain_cloud: :switzerland: Meteo Swiss Integration for Home Assistant (forked from websylv)
74 stars 8 forks source link

HomeAssistantType was used from meteoswiss, this is a deprecated alias which will be removed in HA Core 2025.5 #42

Open tluethi71 opened 2 months ago

tluethi71 commented 2 months ago

I got this message:

Logger: homeassistant.helpers.typing Quelle: helpers/deprecation.py:206 Erstmals aufgetreten: 11:45:53 (1 Vorkommnisse) Zuletzt protokolliert: 11:45:53

HomeAssistantType was used from meteoswiss, 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 'meteoswiss' custom integration

tluethi71 commented 2 months ago

and there is one more upon start up of HA:

Logger: homeassistant.const Quelle: helpers/deprecation.py:206 Erstmals aufgetreten: 14:46:37 (8 Vorkommnisse) Zuletzt protokolliert: 14:46:38

IRRADIATION_WATTS_PER_SQUARE_METER was used from meteoswiss, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfIrradiance.WATTS_PER_SQUARE_METER instead, please report it to the author of the 'meteoswiss' custom integration PRESSURE_HPA was used from meteoswiss, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPressure.HPA instead, please report it to the author of the 'meteoswiss' custom integration SPEED_KILOMETERS_PER_HOUR was used from meteoswiss, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfSpeed.KILOMETERS_PER_HOUR instead, please report it to the author of the 'meteoswiss' custom integration TEMP_CELSIUS was used from meteoswiss, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please report it to the author of the 'meteoswiss' custom integration TIME_MINUTES was used from meteoswiss, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.MINUTES instead, please report it to the author of the 'meteoswiss' custom integration

braetkuegeli commented 1 week ago

Duplicate of #34