Limych / ha-narodmon

Component to integrate Narodmon cloud into Home Assistant
Other
26 stars 5 forks source link

"deprecated constant" warnings in Log #127

Closed ildar170975 closed 5 months ago

ildar170975 commented 5 months ago

Checklist

Is your feature request related to a problem? Please describe.

Это не FR, а сообщение о баге.

2024.5 Записи в Логе:

2024-05-04 01:40:03.107 WARNING (ImportExecutor_0) [homeassistant.const] DEVICE_CLASS_HUMIDITY was used from narodmon, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.HUMIDITY instead, please report it to the author of the 'narodmon' custom integration 2024-05-04 01:40:03.108 WARNING (ImportExecutor_0) [homeassistant.const] DEVICE_CLASS_ILLUMINANCE was used from narodmon, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.ILLUMINANCE instead, please report it to the author of the 'narodmon' custom integration 2024-05-04 01:40:03.109 WARNING (ImportExecutor_0) [homeassistant.const] DEVICE_CLASS_PRESSURE was used from narodmon, 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 'narodmon' custom integration 2024-05-04 01:40:03.110 WARNING (ImportExecutor_0) [homeassistant.const] DEVICE_CLASS_TEMPERATURE was used from narodmon, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.TEMPERATURE instead, please report it to the author of the 'narodmon' custom integration 2024-05-04 01:40:03.111 WARNING (ImportExecutor_0) [homeassistant.const] LENGTH_MILLIMETERS was used from narodmon, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfLength.MILLIMETERS instead, please report it to the author of the 'narodmon' custom integration 2024-05-04 01:40:03.112 WARNING (ImportExecutor_0) [homeassistant.const] PRESSURE_MMHG was used from narodmon, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPressure.MMHG instead, please report it to the author of the 'narodmon' custom integration 2024-05-04 01:40:03.115 WARNING (ImportExecutor_0) [homeassistant.const] SPEED_METERS_PER_SECOND was used from narodmon, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfSpeed.METERS_PER_SECOND instead, please report it to the author of the 'narodmon' custom integration 2024-05-04 01:40:03.116 WARNING (ImportExecutor_0) [homeassistant.const] TEMP_CELSIUS was used from narodmon, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please report it to the author of the 'narodmon' custom integration

Describe the solution you'd like

no warnings

Describe alternatives you've considered

none

Additional context

none