Skip to content

Commit

Permalink
add a deprecation warning for tplink device_tracker (home-assistant#2…
Browse files Browse the repository at this point in the history
…4236)

* add a deprecation warning for tplink device_tracker

* reword the warning a bit
  • Loading branch information
rytilahti authored and balloob committed Jun 1, 2019
1 parent e6a5401 commit 3076866
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions homeassistant/components/tplink/device_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ def get_scanner(hass, config):
should be gradually migrated in the pypi package
"""
_LOGGER.warning("TP-Link device tracker is unmaintained and will be "
"removed in the future releases if no maintainer is "
"found. If you have interest in this integration, "
"feel free to create a pull request to move this code "
"to a new 'tplink_router' integration and refactoring "
"the device-specific parts to the tplink library")
for cls in [
TplinkDeviceScanner, Tplink5DeviceScanner, Tplink4DeviceScanner,
Tplink3DeviceScanner, Tplink2DeviceScanner, Tplink1DeviceScanner
Expand Down

0 comments on commit 3076866

Please sign in to comment.