Deprecate 1-Wire SysBus (ADR-0019) (#63513)
* Deprecate 1-Wire (ADR-0019) * Deprecate only SysBus * Remove from init Co-authored-by: epenet <6771947+epenet@users.noreply.github.com> * Clarify OWServer is supported Co-authored-by: epenet <6771947+epenet@users.noreply.github.com> Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
This commit is contained in:
parent
e9dec5d03a
commit
53d86d4317
1 changed files with 8 additions and 0 deletions
|
@ -93,6 +93,14 @@ class OneWireHub:
|
|||
if self.type == CONF_TYPE_SYSBUS:
|
||||
mount_dir = config_entry.data[CONF_MOUNT_DIR]
|
||||
_LOGGER.debug("Initializing using SysBus %s", mount_dir)
|
||||
_LOGGER.warning(
|
||||
"Using the 1-Wire integration via SysBus is deprecated and will be removed "
|
||||
"in Home Assistant Core 2022.6; this integration is being adjusted to comply "
|
||||
"with Architectural Decision Record 0019, more information can be found here: "
|
||||
"https://github.com/home-assistant/architecture/blob/master/adr/0019-GPIO.md "
|
||||
"Access via OWServer is still supported"
|
||||
)
|
||||
|
||||
await self.check_mount_dir(mount_dir)
|
||||
elif self.type == CONF_TYPE_OWSERVER:
|
||||
host = config_entry.data[CONF_HOST]
|
||||
|
|
Loading…
Add table
Reference in a new issue