From 55a4aba9ae47bb3defe7de4bfaf9e322a071166d Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Mon, 26 Oct 2020 14:59:31 +0100 Subject: [PATCH] Deprecate ptvsd integration (#42351) --- homeassistant/components/ptvsd/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/homeassistant/components/ptvsd/__init__.py b/homeassistant/components/ptvsd/__init__.py index 55cef1405d9..258589084a0 100644 --- a/homeassistant/components/ptvsd/__init__.py +++ b/homeassistant/components/ptvsd/__init__.py @@ -36,6 +36,10 @@ CONFIG_SCHEMA = vol.Schema( async def async_setup(hass: HomeAssistantType, config: ConfigType): """Set up ptvsd debugger.""" + _LOGGER.warning( + "ptvsd is deprecated and will be removed in Home Assistant Core 0.120." + "The debugpy integration can be used as a full replacement for ptvsd" + ) # This is a local import, since importing this at the top, will cause # ptvsd to hook into `sys.settrace`. So does `coverage` to generate