robinostlund / homeassistant-volkswagencarnet

Volkswagen Carnet Component for home assistant
GNU General Public License v3.0
304 stars 60 forks source link

[BUG] SOURCE_TYPE_GPS is deprecated #538

Closed Driekes closed 6 months ago

Driekes commented 6 months ago

Before you post a new issue - you must first check the following (and check the boxes with an "X" below)

Environment

Traceback/Error logs

Logger: homeassistant.components.device_tracker
Source: helpers/deprecation.py:204
Integration: Device tracker (documentation, issues)
First occurred: 15:06:25 (2 occurrences)
Last logged: 15:06:25

SOURCE_TYPE_GPS was used from volkswagencarnet, 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/robinostlund/homeassistant-volkswagencarnet/issues

Debug information - all JSON responses from logfile

Additional context

stickpin commented 6 months ago

There are more issues after 2024.1 update. Some sensors are not being updated anymore only at startup. I am checking what has been changed and how to fix it.

stickpin commented 6 months ago

@Driekes the issues will be resolved once this PR will be merged: https://github.com/robinostlund/homeassistant-volkswagencarnet/pull/539