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

SOURCE_TYPE_GPS is deprecated #77

Open
therealcmj opened this issue Jan 4, 2024 · 3 comments
Open

SOURCE_TYPE_GPS is deprecated #77

therealcmj opened this issue Jan 4, 2024 · 3 comments

Comments

@therealcmj
Copy link

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
Copy link

Czanron commented Jan 7, 2024

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
Copy link
Contributor

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

@FinestDice17
Copy link

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.

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

No branches or pull requests

4 participants