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

deprecated constants #1483

Closed
hermanops opened this issue Jan 5, 2024 · 4 comments · Fixed by #1485
Closed

deprecated constants #1483

hermanops opened this issue Jan 5, 2024 · 4 comments · Fixed by #1485

Comments

@hermanops
Copy link

hermanops commented Jan 5, 2024

My logs are complaining a lot, and asked me to create a bug report.

2024-01-05 18:22:40.916 WARNING (MainThread) [homeassistant.components.light] Entity light.zhimi_mb3_1da1_indicator_light (<class 'custom_components.xiaomi_miot.light.MiotLightSubEntity'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 0> and color modes, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

2024-01-05 18:21:39.509 WARNING (MainThread) [homeassistant.const] DATA_KILOBYTES was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfInformation.KILOBYTES instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:39.522 WARNING (MainThread) [homeassistant.const] DATA_MEGABYTES was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfInformation.MEGABYTES instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:39.535 WARNING (MainThread) [homeassistant.const] DATA_GIGABYTES was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfInformation.GIGABYTES instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:39.548 WARNING (MainThread) [homeassistant.const] DATA_TERABYTES was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfInformation.TERABYTES instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:39.561 WARNING (MainThread) [homeassistant.const] DATA_PETABYTES was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfInformation.PETABYTES instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:39.574 WARNING (MainThread) [homeassistant.const] DATA_EXABYTES was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfInformation.EXABYTES instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:39.587 WARNING (MainThread) [homeassistant.const] DATA_ZETTABYTES was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfInformation.ZETTABYTES instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:39.600 WARNING (MainThread) [homeassistant.const] DATA_YOTTABYTES was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfInformation.YOTTABYTES instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:39.613 WARNING (MainThread) [homeassistant.const] DATA_KIBIBYTES was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfInformation.KIBIBYTES instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:39.626 WARNING (MainThread) [homeassistant.const] DATA_MEBIBYTES was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfInformation.MEBIBYTES instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:39.640 WARNING (MainThread) [homeassistant.const] DATA_GIBIBYTES was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfInformation.GIBIBYTES instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:39.652 WARNING (MainThread) [homeassistant.const] DATA_TEBIBYTES was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfInformation.TEBIBYTES instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:39.665 WARNING (MainThread) [homeassistant.const] DATA_PEBIBYTES was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfInformation.PEBIBYTES instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:39.678 WARNING (MainThread) [homeassistant.const] DATA_EXBIBYTES was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfInformation.EXBIBYTES instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:39.690 WARNING (MainThread) [homeassistant.const] DATA_ZEBIBYTES was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfInformation.ZEBIBYTES instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:39.711 WARNING (MainThread) [homeassistant.const] DATA_YOBIBYTES was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfInformation.YOBIBYTES instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:39.724 WARNING (MainThread) [homeassistant.const] DATA_RATE_BITS_PER_SECOND was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfDataRate.BITS_PER_SECOND instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:39.737 WARNING (MainThread) [homeassistant.const] DATA_RATE_KILOBITS_PER_SECOND was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfDataRate.KILOBITS_PER_SECOND instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:39.751 WARNING (MainThread) [homeassistant.const] DATA_RATE_MEGABITS_PER_SECOND was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfDataRate.MEGABITS_PER_SECOND instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:39.764 WARNING (MainThread) [homeassistant.const] DATA_RATE_GIGABITS_PER_SECOND was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfDataRate.GIGABITS_PER_SECOND instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:39.777 WARNING (MainThread) [homeassistant.const] DATA_RATE_BYTES_PER_SECOND was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfDataRate.BYTES_PER_SECOND instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:39.791 WARNING (MainThread) [homeassistant.const] DATA_RATE_KILOBYTES_PER_SECOND was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfDataRate.KILOBYTES_PER_SECOND instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:39.804 WARNING (MainThread) [homeassistant.const] DATA_RATE_MEGABYTES_PER_SECOND was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfDataRate.MEGABYTES_PER_SECOND instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:39.817 WARNING (MainThread) [homeassistant.const] DATA_RATE_GIGABYTES_PER_SECOND was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfDataRate.GIGABYTES_PER_SECOND instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:39.830 WARNING (MainThread) [homeassistant.const] DATA_RATE_KIBIBYTES_PER_SECOND was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfDataRate.KIBIBYTES_PER_SECOND instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:39.844 WARNING (MainThread) [homeassistant.const] DATA_RATE_MEBIBYTES_PER_SECOND was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfDataRate.MEBIBYTES_PER_SECOND instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:39.857 WARNING (MainThread) [homeassistant.const] DATA_RATE_GIBIBYTES_PER_SECOND was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfDataRate.GIBIBYTES_PER_SECOND instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:39.870 WARNING (MainThread) [homeassistant.const] ENTITY_CATEGORY_CONFIG was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use EntityCategory.CONFIG instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:39.884 WARNING (MainThread) [homeassistant.const] ENTITY_CATEGORY_DIAGNOSTIC was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use EntityCategory.DIAGNOSTIC instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:39.898 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_OFF was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.OFF instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:39.911 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_HEAT was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.HEAT instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:39.924 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_COOL was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.COOL instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:39.937 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_HEAT_COOL was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.HEAT_COOL instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:39.952 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_AUTO was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.AUTO instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:39.967 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_DRY was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.DRY instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:39.981 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_FAN_ONLY was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.FAN_ONLY instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:39.994 WARNING (MainThread) [homeassistant.components.climate.const] CURRENT_HVAC_OFF was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.OFF instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.008 WARNING (MainThread) [homeassistant.components.climate.const] CURRENT_HVAC_HEAT was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.HEATING instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.025 WARNING (MainThread) [homeassistant.components.climate.const] CURRENT_HVAC_COOL was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.COOLING instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.041 WARNING (MainThread) [homeassistant.components.climate.const] CURRENT_HVAC_DRY was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.DRYING instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.055 WARNING (MainThread) [homeassistant.components.climate.const] CURRENT_HVAC_IDLE was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.IDLE instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.070 WARNING (MainThread) [homeassistant.components.climate.const] CURRENT_HVAC_FAN was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.FAN instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.084 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_TARGET_TEMPERATURE was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.098 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_TARGET_TEMPERATURE_RANGE was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE_RANGE instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.112 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_TARGET_HUMIDITY was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_HUMIDITY instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.127 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_FAN_MODE was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.FAN_MODE instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.141 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_PRESET_MODE was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.PRESET_MODE instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.155 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_SWING_MODE was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.SWING_MODE instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.169 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_AUX_HEAT was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.AUX_HEAT instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.188 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_AQI was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.AQI instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.203 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_BATTERY was used from xiaomi_miot, 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/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.216 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_CO was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.CO instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.233 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_CO2 was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.CO2 instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.247 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_CURRENT was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.CURRENT instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.260 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_DATE was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.DATE instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.273 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_ENERGY was used from xiaomi_miot, 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/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.288 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_FREQUENCY was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.FREQUENCY instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.309 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_GAS was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.GAS instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.323 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_HUMIDITY was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.HUMIDITY instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.337 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_ILLUMINANCE was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.ILLUMINANCE instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.351 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_MONETARY was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.MONETARY instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.370 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_NITROGEN_DIOXIDE was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.NITROGEN_DIOXIDE instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.388 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_NITROGEN_MONOXIDE was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.NITROGEN_MONOXIDE instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.406 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_NITROUS_OXIDE was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.NITROUS_OXIDE instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.426 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_OZONE was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.OZONE instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.448 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_PM1 was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.PM1 instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.471 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_PM10 was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.PM10 instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.488 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_PM25 was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.PM25 instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.503 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_POWER_FACTOR was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.POWER_FACTOR instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.518 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_POWER was used from xiaomi_miot, 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/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.534 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_PRESSURE was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.PRESSURE instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.548 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_SIGNAL_STRENGTH was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.SIGNAL_STRENGTH instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.561 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_SULPHUR_DIOXIDE was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.SULPHUR_DIOXIDE instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.583 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_TEMPERATURE was used from xiaomi_miot, 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/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.596 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_TIMESTAMP was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.TIMESTAMP instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.621 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_VOLATILE_ORGANIC_COMPOUNDS was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.VOLATILE_ORGANIC_COMPOUNDS instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.635 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_VOLTAGE was used from xiaomi_miot, 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/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.648 WARNING (MainThread) [homeassistant.const] POWER_VOLT_AMPERE was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfApparentPower.VOLT_AMPERE instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.662 WARNING (MainThread) [homeassistant.const] POWER_WATT was used from xiaomi_miot, 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/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.675 WARNING (MainThread) [homeassistant.const] POWER_KILO_WATT was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPower.KILO_WATT instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.690 WARNING (MainThread) [homeassistant.const] POWER_BTU_PER_HOUR was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPower.BTU_PER_HOUR instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.710 WARNING (MainThread) [homeassistant.const] ENERGY_KILO_WATT_HOUR was used from xiaomi_miot, 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/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.723 WARNING (MainThread) [homeassistant.const] ENERGY_MEGA_WATT_HOUR was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfEnergy.MEGA_WATT_HOUR instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.736 WARNING (MainThread) [homeassistant.const] ENERGY_WATT_HOUR was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfEnergy.WATT_HOUR instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.749 WARNING (MainThread) [homeassistant.const] ELECTRIC_CURRENT_MILLIAMPERE was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfElectricCurrent.MILLIAMPERE instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.762 WARNING (MainThread) [homeassistant.const] ELECTRIC_CURRENT_AMPERE was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfElectricCurrent.AMPERE instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.775 WARNING (MainThread) [homeassistant.const] ELECTRIC_POTENTIAL_MILLIVOLT was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfElectricPotential.MILLIVOLT instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.787 WARNING (MainThread) [homeassistant.const] ELECTRIC_POTENTIAL_VOLT was used from xiaomi_miot, 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/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.801 WARNING (MainThread) [homeassistant.const] TEMP_CELSIUS was used from xiaomi_miot, 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/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.814 WARNING (MainThread) [homeassistant.const] TEMP_FAHRENHEIT was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.FAHRENHEIT instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.827 WARNING (MainThread) [homeassistant.const] TEMP_KELVIN was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.KELVIN instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.840 WARNING (MainThread) [homeassistant.const] TIME_MICROSECONDS was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.MICROSECONDS instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.854 WARNING (MainThread) [homeassistant.const] TIME_MILLISECONDS was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.MILLISECONDS instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.867 WARNING (MainThread) [homeassistant.const] TIME_SECONDS was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.SECONDS instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.880 WARNING (MainThread) [homeassistant.const] TIME_MINUTES was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.MINUTES instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.893 WARNING (MainThread) [homeassistant.const] TIME_HOURS was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.HOURS instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.906 WARNING (MainThread) [homeassistant.const] TIME_DAYS was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.DAYS instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.919 WARNING (MainThread) [homeassistant.const] TIME_WEEKS was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.WEEKS instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.933 WARNING (MainThread) [homeassistant.const] TIME_MONTHS was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.MONTHS instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.946 WARNING (MainThread) [homeassistant.const] TIME_YEARS was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.YEARS instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.966 WARNING (MainThread) [homeassistant.const] LENGTH_MILLIMETERS was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfLength.MILLIMETERS instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.980 WARNING (MainThread) [homeassistant.const] LENGTH_CENTIMETERS was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfLength.CENTIMETERS instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:40.993 WARNING (MainThread) [homeassistant.const] LENGTH_METERS was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfLength.METERS instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.006 WARNING (MainThread) [homeassistant.const] LENGTH_KILOMETERS was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfLength.KILOMETERS instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.020 WARNING (MainThread) [homeassistant.const] LENGTH_INCHES was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfLength.INCHES instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.035 WARNING (MainThread) [homeassistant.const] LENGTH_FEET was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfLength.FEET instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.049 WARNING (MainThread) [homeassistant.const] LENGTH_YARD was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfLength.YARDS instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.062 WARNING (MainThread) [homeassistant.const] LENGTH_MILES was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfLength.MILES instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.076 WARNING (MainThread) [homeassistant.const] FREQUENCY_HERTZ was used from xiaomi_miot, 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/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.088 WARNING (MainThread) [homeassistant.const] FREQUENCY_KILOHERTZ was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfFrequency.KILOHERTZ instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.103 WARNING (MainThread) [homeassistant.const] FREQUENCY_MEGAHERTZ was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfFrequency.MEGAHERTZ instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.116 WARNING (MainThread) [homeassistant.const] FREQUENCY_GIGAHERTZ was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfFrequency.GIGAHERTZ instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.131 WARNING (MainThread) [homeassistant.const] PRESSURE_PA was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPressure.PA instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.146 WARNING (MainThread) [homeassistant.const] PRESSURE_HPA was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPressure.HPA instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.159 WARNING (MainThread) [homeassistant.const] PRESSURE_KPA was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPressure.KPA instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.171 WARNING (MainThread) [homeassistant.const] PRESSURE_BAR was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPressure.BAR instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.184 WARNING (MainThread) [homeassistant.const] PRESSURE_CBAR was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPressure.CBAR instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.203 WARNING (MainThread) [homeassistant.const] PRESSURE_MBAR was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPressure.MBAR instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.217 WARNING (MainThread) [homeassistant.const] PRESSURE_MMHG was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPressure.MMHG instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.230 WARNING (MainThread) [homeassistant.const] PRESSURE_INHG was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPressure.INHG instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.244 WARNING (MainThread) [homeassistant.const] PRESSURE_PSI was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPressure.PSI instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.258 WARNING (MainThread) [homeassistant.const] SOUND_PRESSURE_DB was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfSoundPressure.DECIBEL instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.271 WARNING (MainThread) [homeassistant.const] SOUND_PRESSURE_WEIGHTED_DBA was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfSoundPressure.WEIGHTED_DECIBEL_A instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.284 WARNING (MainThread) [homeassistant.const] VOLUME_LITERS was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfVolume.LITERS instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.299 WARNING (MainThread) [homeassistant.const] VOLUME_MILLILITERS was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfVolume.MILLILITERS instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.312 WARNING (MainThread) [homeassistant.const] VOLUME_CUBIC_METERS was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfVolume.CUBIC_METERS instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.324 WARNING (MainThread) [homeassistant.const] VOLUME_CUBIC_FEET was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfVolume.CUBIC_FEET instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.337 WARNING (MainThread) [homeassistant.const] VOLUME_GALLONS was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfVolume.GALLONS instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.350 WARNING (MainThread) [homeassistant.const] VOLUME_FLUID_OUNCE was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfVolume.FLUID_OUNCES instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.363 WARNING (MainThread) [homeassistant.const] VOLUME_FLOW_RATE_CUBIC_METERS_PER_HOUR was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfVolumeFlowRate.CUBIC_METERS_PER_HOUR instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.376 WARNING (MainThread) [homeassistant.const] VOLUME_FLOW_RATE_CUBIC_FEET_PER_MINUTE was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfVolumeFlowRate.CUBIC_FEET_PER_MINUTE instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.389 WARNING (MainThread) [homeassistant.const] MASS_GRAMS was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfMass.GRAMS instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.402 WARNING (MainThread) [homeassistant.const] MASS_KILOGRAMS was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfMass.KILOGRAMS instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.414 WARNING (MainThread) [homeassistant.const] MASS_MILLIGRAMS was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfMass.MILLIGRAMS instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.427 WARNING (MainThread) [homeassistant.const] MASS_MICROGRAMS was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfMass.MICROGRAMS instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.444 WARNING (MainThread) [homeassistant.const] MASS_OUNCES was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfMass.OUNCES instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.467 WARNING (MainThread) [homeassistant.const] MASS_POUNDS was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfMass.POUNDS instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.481 WARNING (MainThread) [homeassistant.const] IRRADIATION_WATTS_PER_SQUARE_METER was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfIrradiance.WATTS_PER_SQUARE_METER instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.498 WARNING (MainThread) [homeassistant.const] IRRADIATION_BTUS_PER_HOUR_SQUARE_FOOT was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfIrradiance.BTUS_PER_HOUR_SQUARE_FOOT instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.513 WARNING (MainThread) [homeassistant.const] PRECIPITATION_INCHES was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPrecipitationDepth.INCHES instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.530 WARNING (MainThread) [homeassistant.const] PRECIPITATION_MILLIMETERS was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPrecipitationDepth.MILLIMETERS instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.546 WARNING (MainThread) [homeassistant.const] PRECIPITATION_MILLIMETERS_PER_HOUR was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfVolumetricFlux.MILLIMETERS_PER_HOUR instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.578 WARNING (MainThread) [homeassistant.const] PRECIPITATION_INCHES_PER_HOUR was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfVolumetricFlux.INCHES_PER_HOUR instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.599 WARNING (MainThread) [homeassistant.const] SPEED_FEET_PER_SECOND was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfSpeed.FEET_PER_SECOND instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.619 WARNING (MainThread) [homeassistant.const] SPEED_METERS_PER_SECOND was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfSpeed.METERS_PER_SECOND instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.639 WARNING (MainThread) [homeassistant.const] SPEED_KILOMETERS_PER_HOUR was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfSpeed.KILOMETERS_PER_HOUR instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.659 WARNING (MainThread) [homeassistant.const] SPEED_KNOTS was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfSpeed.KNOTS instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.677 WARNING (MainThread) [homeassistant.const] SPEED_MILES_PER_HOUR was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfSpeed.MILES_PER_HOUR instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.696 WARNING (MainThread) [homeassistant.const] SPEED_MILLIMETERS_PER_DAY was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfVolumetricFlux.MILLIMETERS_PER_DAY instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.732 WARNING (MainThread) [homeassistant.const] SPEED_INCHES_PER_DAY was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfVolumetricFlux.INCHES_PER_DAY instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
2024-01-05 18:21:41.746 WARNING (MainThread) [homeassistant.const] SPEED_INCHES_PER_HOUR was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfVolumetricFlux.INCHES_PER_HOUR instead, please create a bug report at https://github.com/al-one/hass-xiaomi-miot/issues
@hmmbob
Copy link
Contributor

hmmbob commented Jan 6, 2024

This is a side effect of a PR merged in 2024.1.1. I've raised an issue here: home-assistant/core#107354

Meanwhile, I'm testing some changes locally (basically, import specific constants instead of wildcards) to see if this fixes the isse.

@codyc1515
Copy link
Contributor

Related issue #1477

@rdlvm
Copy link

rdlvm commented Jan 25, 2024

Same problem.

@hmmbob
Copy link
Contributor

hmmbob commented Jan 25, 2024

Yeah, the fix in #1485 is not part of a release yet. It's safe to ignore for now though - just a warning.

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 a pull request may close this issue.

4 participants