mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Deprecate Orange Pi GPIO (ADR-0019) (#63507)
This commit is contained in:
parent
e9e25b55dc
commit
25490b892b
@ -16,6 +16,12 @@ DOMAIN = "orangepi_gpio"
|
|||||||
|
|
||||||
async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
|
async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
|
||||||
"""Set up the Orange Pi GPIO component."""
|
"""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):
|
def cleanup_gpio(event):
|
||||||
"""Stuff to do before stopping."""
|
"""Stuff to do before stopping."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user