Deprecate Orange Pi GPIO (ADR-0019) (#63507)

pull/62526/head
Franck Nijhof 2022-01-05 23:34:39 +01:00 committed by GitHub
parent e9e25b55dc
commit 25490b892b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -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."""