Deprecate Raspihats (ADR-0019) (#64113)

Co-authored-by: epenet <epenet@users.noreply.github.com>
This commit is contained in:
epenet 2022-01-14 14:03:31 +01:00 committed by GitHub
parent e492cb5156
commit 5db1dd2e41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,6 +33,13 @@ I2C_HATS_MANAGER = "I2CH_MNG"
def setup(hass: HomeAssistant, config: ConfigType) -> bool:
"""Set up the raspihats component."""
_LOGGER.warning(
"The Raspihats pHAT 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"
)
hass.data[I2C_HATS_MANAGER] = I2CHatsManager()
def start_i2c_hats_keep_alive(event):