Closed alexdelprete closed 6 months ago
It's tested and seems to be working fine: https://github.com/travisghansen/hass-opnsense/issues/111#issuecomment-1878661179
I tried this PR and it has resolved most of the deprecation warnings, thanks! I am still getting one more that you may be able to address.
2024-01-31 10:18:05.433 WARNING (MainThread) [homeassistant.components.device_tracker] SOURCE_TYPE_ROUTER was used from opnsense, this is a deprecated constant which will be removed in HA Core 2025.1. Use SourceType.ROUTER instead, please create a bug report at https://github.com/travisghansen/hass-opnsense/issues
It is in: /custom_components/opnsense/device_tracker.py
It is in:
/custom_components/opnsense/device_tracker.py
Thanks, I updated the PR now. Please let me know if there's anything else that slipped my checks. :)
should solve #111