Deprecate Raspberry Pi RF (ADR-0019) (#63501)
This commit is contained in:
parent
640e625c2c
commit
da1d74feb8
1 changed files with 6 additions and 0 deletions
|
@ -57,6 +57,12 @@ def setup_platform(
|
||||||
discovery_info: DiscoveryInfoType | None = None,
|
discovery_info: DiscoveryInfoType | None = None,
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Find and return switches controlled by a generic RF device via GPIO."""
|
"""Find and return switches controlled by a generic RF device via GPIO."""
|
||||||
|
_LOGGER.warning(
|
||||||
|
"The Raspberry Pi RF 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"
|
||||||
|
)
|
||||||
rpi_rf = importlib.import_module("rpi_rf")
|
rpi_rf = importlib.import_module("rpi_rf")
|
||||||
|
|
||||||
gpio = config[CONF_GPIO]
|
gpio = config[CONF_GPIO]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue