Closed Matze-aaa closed 8 months ago
sorry, didn't see that it was already posted here https://github.com/CJNE/ha-myenergi/issues/462
Good morning, I'm seeing the below warnings:
Logger: homeassistant.components.sensor Source: helpers/deprecation.py:205 Integration: Sensor (documentation, issues) First occurred: 06:17:22 (4 occurrences) Last logged: 06:17:23
STATE_CLASS_MEASUREMENT was used from myenergi, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorStateClass.MEASUREMENT instead, please create a bug report at https://github.com/cjne/ha-myenergi/issues
STATE_CLASS_TOTAL_INCREASING was used from myenergi, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorStateClass.TOTAL_INCREASING instead, please create a bug report at https://github.com/cjne/ha-myenergi/issues
I'm running:
Home Assistant Yellow:
Should be fixed with latest release
This should be fixed by now 👍
2024-02-03 21:36:27.793 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_BATTERY was used from myenergi, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.BATTERY instead, please create a bug report at https://github.com/cjne/ha-myenergi/issues 2024-02-03 21:36:27.803 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_ENERGY was used from myenergi, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.ENERGY instead, please create a bug report at https://github.com/cjne/ha-myenergi/issues 2024-02-03 21:36:27.813 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_POWER was used from myenergi, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.POWER instead, please create a bug report at https://github.com/cjne/ha-myenergi/issues 2024-02-03 21:36:27.823 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_TEMPERATURE was used from myenergi, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.TEMPERATURE instead, please create a bug report at https://github.com/cjne/ha-myenergi/issues 2024-02-03 21:36:27.833 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_VOLTAGE was used from myenergi, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.VOLTAGE instead, please create a bug report at https://github.com/cjne/ha-myenergi/issues 2024-02-03 21:36:27.843 WARNING (MainThread) [homeassistant.const] ELECTRIC_POTENTIAL_VOLT was used from myenergi, 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/cjne/ha-myenergi/issues 2024-02-03 21:36:27.853 WARNING (MainThread) [homeassistant.const] ENERGY_KILO_WATT_HOUR was used from myenergi, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfEnergy.KILO_WATT_HOUR instead, please create a bug report at https://github.com/cjne/ha-myenergi/issues 2024-02-03 21:36:27.863 WARNING (MainThread) [homeassistant.const] FREQUENCY_HERTZ was used from myenergi, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfFrequency.HERTZ instead, please create a bug report at https://github.com/cjne/ha-myenergi/issues 2024-02-03 21:36:27.873 WARNING (MainThread) [homeassistant.const] POWER_WATT was used from myenergi, 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/cjne/ha-myenergi/issues 2024-02-03 21:36:27.882 WARNING (MainThread) [homeassistant.const] TEMP_CELSIUS was used from myenergi, 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/cjne/ha-myenergi/issues