diff --git a/custom_components/rpi_gpio/__init__.py b/custom_components/rpi_gpio/__init__.py index 95e3ded..028b153 100644 --- a/custom_components/rpi_gpio/__init__.py +++ b/custom_components/rpi_gpio/__init__.py @@ -1,5 +1,4 @@ """Support for controlling GPIO pins of a Raspberry Pi.""" -import logging from RPi import GPIO # pylint: disable=import-error @@ -18,17 +17,9 @@ PLATFORMS = [ Platform.SWITCH, ] -_LOGGER = logging.getLogger(__name__) - def setup(hass: HomeAssistant, config: ConfigType) -> bool: """Set up the Raspberry PI GPIO component.""" - _LOGGER.warning( - "The Raspberry Pi GPIO integration is deprecated and will be removed " - "in Home Assistant Core 2022.6; this integration is removed under " - "Architectural Decision Record 0019, more information can be found here: " - "https://github.com/home-assistant/architecture/blob/master/adr/0019-GPIO.md" - ) def cleanup_gpio(event): """Stuff to do before stopping."""