sbabcock23 / hass-tryfi

Home Assistant integration for TryFi Dog Collar GPS monitoring.
https://github.com/sbabcock23/hass-tryfi
Apache License 2.0
51 stars 17 forks source link

SOURCE_TYPE_GPS is deprecated #77

Open therealcmj opened 10 months ago

therealcmj commented 10 months ago

From the log:

SOURCE_TYPE_GPS was used from tryfi, this is a deprecated constant which will be removed in HA Core 2025.1. Use SourceType.GPS instead, please create a bug report at https://github.com/sbabcock23/hass-tryfi/issues

Czanron commented 10 months ago

Following. Also receiving the following warnings:

DEVICE_CLASS_BATTERY was used from tryfi, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.BATTERY instead

LENGTH_KILOMETERS was used from tryfi, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfLength.KILOMETERS instead

TIME_MINUTES was used from tryfi, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.MINUTES instead

DEVICE_CLASS_BATTERY was used from tryfi, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.BATTERY instead

DEVICE_CLASS_BATTERY_CHARGING was used from tryfi, this is a deprecated constant which will be removed in HA Core 2025.1. Use BinarySensorDeviceClass.BATTERY_CHARGING instead

prestomation commented 6 months ago

Don't be a jackass. This is an open community contributed to by volunteers. You're welcome to fix it yourself

FinestDice17 commented 6 months ago

Don't be a jackass. This is an open community contributed to by volunteers. You're welcome to fix it yourself

My apologies and your right i will give it a shot.