krahabb / meross_lan

Home Assistant integration for Meross devices
MIT License
444 stars 47 forks source link

Advertissement on Home assistant #354

Closed Nemesis24 closed 10 months ago

Nemesis24 commented 10 months ago
ELECTRIC_CURRENT_AMPERE was used from meross_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfElectricCurrent.AMPERE instead, please create a bug report at https://github.com/krahabb/meross_lan/issues
ELECTRIC_POTENTIAL_VOLT was used from meross_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfElectricPotential.VOLT instead, please create a bug report at https://github.com/krahabb/meross_lan/issues
ENERGY_WATT_HOUR was used from meross_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfEnergy.WATT_HOUR instead, please create a bug report at https://github.com/krahabb/meross_lan/issues
POWER_WATT was used from meross_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPower.WATT instead, please create a bug report at https://github.com/krahabb/meross_lan/issues
TEMP_CELSIUS was used from meross_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please create a bug report at https://github.com/krahabb/meross_lan/issues
krahabb commented 10 months ago

Thank you @Nemesis24, It looks so scary! I was aware of the new check but didn't see it in action so I guess you're running on HA beta.

It looks very helpful though since those constants where likely deprecated a lot of time ago and are soon to be removed. Quick patch is needed