localtuya icon indicating copy to clipboard operation
localtuya copied to clipboard

Deprecation of sensors

Open JHPWBN opened this issue 10 months ago • 1 comments

I have just finished installing localtuya (latest version) and get several warnings from HASS. @rospogrigio @ultratoto14 @postlund I hope you will be able to fix this before it is too late?

One example: Logger: homeassistant.const Source: helpers/deprecation.py:206 First occurred: 08:52:29 (4 occurrences) Last logged: 08:52:37

TEMP_CELSIUS was used from localtuya, 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 'localtuya' custom integration TEMP_FAHRENHEIT was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.FAHRENHEIT instead, please report it to the author of the 'localtuya' custom integration TEMP_CELSIUS was used from goecharger, 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 'goecharger' custom integration ENERGY_KILO_WATT_HOUR was used from goecharger, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfEnergy.KILO_WATT_HOUR instead, please report it to the author of the 'goecharger' custom integration

JHPWBN avatar Apr 24 '24 07:04 JHPWBN

https://github.com/rospogrigio/localtuya/issues/1650 duplicate

neildsb avatar May 10 '24 12:05 neildsb