Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEVICE_CLASS_HUMIDITY was used from ecowitt, this is a deprecated constant which will be removed in HA Core 2025.1 #168

Open
vix66 opened this issue Mar 23, 2024 · 1 comment

Comments

@vix66
Copy link

vix66 commented Mar 23, 2024

Many classes will be deprecated in version 2025. What should we do?

@akeck
Copy link

akeck commented Jul 7, 2024

Exactly what the log message suggests:

Logger: homeassistant.const
Source: helpers/deprecation.py:197
First occurred: 1:42:59 PM (27 occurrences)
Last logged: 1:43:18 PM

DEVICE_CLASS_PRESSURE was used from ecowitt, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.PRESSURE instead, please report it to the author of the 'ecowitt' custom integration
DEVICE_CLASS_TIMESTAMP was used from ecowitt, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.TIMESTAMP instead, please report it to the author of the 'ecowitt' custom integration
DEVICE_CLASS_VOLTAGE was used from ecowitt, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.VOLTAGE instead, please report it to the author of the 'ecowitt' custom integration
ELECTRIC_POTENTIAL_VOLT was used from ecowitt, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfElectricPotential.VOLT instead, please report it to the author of the 'ecowitt' custom integration
DEVICE_CLASS_BATTERY was used from ecowitt, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.BATTERY instead, please report it to the author of the 'ecowitt' custom integration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants