sureha icon indicating copy to clipboard operation
sureha copied to clipboard

Depreciated Call Warnings

Open Anaxagoras-bc opened this issue 1 year ago • 0 comments

While looking at logs trying to determine why my pet feeders are not updating I saw the following messages:

2024-01-13 17:55:27.434 WARNING (MainThread) [homeassistant.components.binary_sensor] DEVICE_CLASS_CONNECTIVITY was used from sureha, this is a deprecated constant which will be removed in HA Core 2025.1. Use BinarySensorDeviceClass.CONNECTIVITY instead, please create a bug report at https://github.com/benleb/sureha/issues 2024-01-13 17:55:27.439 WARNING (MainThread) [homeassistant.components.binary_sensor] DEVICE_CLASS_PRESENCE was used from sureha, this is a deprecated constant which will be removed in HA Core 2025.1. Use BinarySensorDeviceClass.PRESENCE instead, please create a bug report at https://github.com/benleb/sureha/issues 2024-01-13 17:55:27.443 WARNING (MainThread) [homeassistant.components.binary_sensor] DEVICE_CLASS_CONNECTIVITY was used from sureha, this is a deprecated constant which will be removed in HA Core 2025.1. Use BinarySensorDeviceClass.CONNECTIVITY instead, please create a bug report at https://github.com/benleb/sureha/issues 2024-01-13 17:55:27.447 WARNING (MainThread) [homeassistant.components.binary_sensor] DEVICE_CLASS_PRESENCE was used from sureha, this is a deprecated constant which will be removed in HA Core 2025.1. Use BinarySensorDeviceClass.PRESENCE instead, please create a bug report at https://github.com/benleb/sureha/issues 2024-01-13 17:55:27.456 WARNING (MainThread) [homeassistant.const] DEVICE_CLASS_BATTERY was used from sureha, 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/benleb/sureha/issues 2024-01-13 17:55:27.459 WARNING (MainThread) [homeassistant.const] MASS_GRAMS was used from sureha, 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/benleb/sureha/issues 2024-01-13 17:55:27.463 WARNING (MainThread) [homeassistant.const] VOLUME_MILLILITERS was used from sureha, 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/benleb/sureha/issues

Anaxagoras-bc avatar Jan 13 '24 23:01 Anaxagoras-bc