diff --git a/homeassistant/components/bbb_gpio/__init__.py b/homeassistant/components/bbb_gpio/__init__.py index f7d146e073e..9cc94de0910 100644 --- a/homeassistant/components/bbb_gpio/__init__.py +++ b/homeassistant/components/bbb_gpio/__init__.py @@ -1,13 +1,23 @@ """Support for controlling GPIO pins of a Beaglebone Black.""" +import logging + from Adafruit_BBIO import GPIO # pylint: disable=import-error from homeassistant.const import EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP DOMAIN = "bbb_gpio" +_LOGGER = logging.getLogger(__name__) + def setup(hass, config): """Set up the BeagleBone Black GPIO component.""" + _LOGGER.warning( + "The BeagleBone Black GPIO integration is deprecated and will be removed " + "in Home Assistant Core 2022.4; 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."""