From 25490b892b454943cef58c21a80ff333c8fc4606 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Wed, 5 Jan 2022 23:34:39 +0100 Subject: [PATCH] Deprecate Orange Pi GPIO (ADR-0019) (#63507) --- homeassistant/components/orangepi_gpio/__init__.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/homeassistant/components/orangepi_gpio/__init__.py b/homeassistant/components/orangepi_gpio/__init__.py index a49833ef182..1b0d7a46648 100644 --- a/homeassistant/components/orangepi_gpio/__init__.py +++ b/homeassistant/components/orangepi_gpio/__init__.py @@ -16,6 +16,12 @@ DOMAIN = "orangepi_gpio" async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: """Set up the Orange Pi GPIO component.""" + _LOGGER.warning( + "The Orange Pi 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."""