mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 09:47:13 +00:00
Deprecate BeagleBone Black GPIO integration (ADR-0019) (#62492)
This commit is contained in:
parent
07e034c1c6
commit
eb292fbfbd
@ -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."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user