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

Fix sensor + change all obsolete consts #109

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

titidnh
Copy link

@titidnh titidnh commented Mar 10, 2024

2024-03-10 10:42:49.726 WARNING (MainThread) [homeassistant.setup] Setup of zone is taking over 10 seconds.
2024-03-10 10:42:50.435 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-03-10 10:42:50.446 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-03-10 10:42:50.457 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-03-10 10:42:50.468 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-03-10 10:42:50.479 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-03-10 10:42:50.490 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-03-10 10:42:50.501 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-03-10 10:42:50.512 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-03-10 10:42:50.524 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-03-10 10:42:50.535 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

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

Successfully merging this pull request may close these issues.

None yet

1 participant