huawei_solar
huawei_solar copied to clipboard
Deprecated items
Good morning, after upgrading to HA 2024.2 i started see in the HA log a number of lines speaking about deprecated components, which will be removed in HA Core 2025.1. I assume you are already aware, but just for completion, here are the log lines:
2024-02-10 10:37:30.418 WARNING (MainThread) [homeassistant.components.sensor] STATE_CLASS_MEASUREMENT was used from huawei_solar, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorStateClass.MEASUREMENT instead, please report it to the author of the 'huawei_solar' custom integration
2024-02-10 10:37:30.424 WARNING (MainThread) [homeassistant.components.sensor] STATE_CLASS_TOTAL_INCREASING was used from huawei_solar, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorStateClass.TOTAL_INCREASING instead, please report it to the author of the 'huawei_solar' custom integration
2024-02-10 10:37:30.431 WARNING (MainThread) [homeassistant.components.sensor] STATE_CLASS_MEASUREMENT was used from huawei_solar, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorStateClass.MEASUREMENT instead, please report it to the author of the 'huawei_solar' custom integration
2024-02-10 10:37:30.438 WARNING (MainThread) [homeassistant.components.sensor] STATE_CLASS_TOTAL_INCREASING was used from huawei_solar, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorStateClass.TOTAL_INCREASING instead, please report it to the author of the 'huawei_solar' custom integration
2024-02-10 10:37:30.444 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_CURRENT was used from huawei_solar, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.CURRENT instead, please report it to the author of the 'huawei_solar' custom integration
2024-02-10 10:37:30.451 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_ENERGY was used from huawei_solar, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.ENERGY instead, please report it to the author of the 'huawei_solar' custom integration
2024-02-10 10:37:30.459 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_POWER was used from huawei_solar, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.POWER instead, please report it to the author of the 'huawei_solar' custom integration
2024-02-10 10:37:30.467 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_VOLTAGE was used from huawei_solar, 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 'huawei_solar' custom integration
2024-02-10 10:37:30.477 WARNING (MainThread) [homeassistant.const] ENERGY_KILO_WATT_HOUR was used from huawei_solar, 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 'huawei_solar' custom integration
2024-02-10 10:37:30.485 WARNING (MainThread) [homeassistant.const] POWER_WATT was used from huawei_solar, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPower.WATT instead, please report it to the author of the 'huawei_solar' custom integration